Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009466/0.0009466, allocations: 96.7 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008573/0.0008574, allocations: 174.3 kB / 16.62 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 223.3 MB / 240.7 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1484/0.1484, allocations: 8.081 MB / 299.8 MB, free: 2.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002962, allocations: 8 kB / 363 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09007/0.09039, allocations: 52.51 MB / 415.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003508/0.09394, allocations: 3.538 MB / 419 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.09567, allocations: 0.9853 MB / 420 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.09596, allocations: 12 kB / 420 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.09635, allocations: 123.3 kB / 420.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006295/0.097, allocations: 258.5 kB / 420.4 MB, free: 3.668 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.09883, allocations: 1.036 MB / 421.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007084/0.09955, allocations: 0.5518 MB / 422 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.09983, allocations: 164.6 kB / 422.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.1001, allocations: 223.1 kB / 422.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.1006, allocations: 298.8 kB / 422.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.458e-05/0.1007, allocations: 28 kB / 422.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.1011, allocations: 255.7 kB / 422.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.1012, allocations: 95.59 kB / 423 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1014, allocations: 121.4 kB / 423.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005872/0.102, allocations: 0.5572 MB / 423.7 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.102, allocations: 0 / 423.7 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.102, allocations: 0 / 423.7 MB, free: 352 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.102, allocations: 0 / 423.7 MB, free: 352 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.1571/0.2591, allocations: 1.545 MB / 425.2 MB, free: 40.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2592, allocations: 9.625 kB / 425.2 MB, free: 40.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.2593, allocations: 86.28 kB / 425.3 MB, free: 40.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.2594, allocations: 70.27 kB / 425.4 MB, free: 40.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.2598, allocations: 388.6 kB / 425.8 MB, free: 40.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.2599, allocations: 69.81 kB / 425.8 MB, free: 40.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.2599, allocations: 48.78 kB / 425.9 MB, free: 40.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/0.2608, allocations: 0.6871 MB / 426.6 MB, free: 40.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2608, allocations: 0 / 426.6 MB, free: 40.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.2609, allocations: 21.69 kB / 426.6 MB, free: 40.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2609, allocations: 14.11 kB / 426.6 MB, free: 40.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007617/0.2616, allocations: 0.6352 MB / 427.2 MB, free: 40.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.2641, allocations: 2.721 MB / 430 MB, free: 38.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.2652, allocations: 1.05 MB / 431 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/0.2657, allocations: 460.9 kB / 431.5 MB, free: 38.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.906e-05/0.2658, allocations: 16.42 kB / 431.5 MB, free: 38.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006151/0.2664, allocations: 0.498 MB / 432 MB, free: 38.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.904e-06/0.2665, allocations: 0 / 432 MB, free: 38.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.006898/0.2734, allocations: 2.615 MB / 434.6 MB, free: 37.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2734, allocations: 91.5 kB / 434.7 MB, free: 37.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.2737, allocations: 341.3 kB / 435 MB, free: 37.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.2737, allocations: 40.98 kB / 435.1 MB, free: 37.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.2738, allocations: 205.3 kB / 435.3 MB, free: 37.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.274, allocations: 258.3 kB / 435.5 MB, free: 37.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.274, allocations: 15.41 kB / 435.5 MB, free: 37.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.2741, allocations: 353.3 kB / 435.9 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.2746, allocations: 416.7 kB / 436.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/0.2751, allocations: 488.9 kB / 436.8 MB, free: 36.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.2757, allocations: 464 kB / 437.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2757, allocations: 0.5625 kB / 437.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00333/0.279, allocations: 1.726 MB / 438.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.279, allocations: 3.375 kB / 438.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2791, allocations: 3.219 kB / 438.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003444/0.2825, allocations: 1.081 MB / 440 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.283, allocations: 124 kB / 440.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007653/0.2906, allocations: 4.879 MB / 445 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005391/0.2912, allocations: 66.69 kB / 445.1 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.2913, allocations: 34.25 kB / 445.1 MB, free: 32.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002364/0.2915, allocations: 179.4 kB / 445.3 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.2916, allocations: 48.62 kB / 445.3 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/0.2951, allocations: 1.728 MB / 447.1 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2951, allocations: 6.344 kB / 447.1 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2951, allocations: 0 / 447.1 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.2951, allocations: 10.28 kB / 447.1 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/0.2991, allocations: 2.528 MB / 449.6 MB, free: 29.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2991, allocations: 0 / 449.6 MB, free: 29.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.2994, allocations: 95.66 kB / 449.7 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/0.3025, allocations: 0.9608 MB / 450.7 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.3026, allocations: 18.19 kB / 450.7 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006823/0.3094, allocations: 4.804 MB / 455.5 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3094, allocations: 1.969 kB / 455.5 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.3127, allocations: 1.685 MB / 457.2 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.3129, allocations: 145.6 kB / 457.3 MB, free: 25.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.779e-05/0.313, allocations: 14.94 kB / 457.3 MB, free: 25.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.3134, allocations: 40.06 kB / 457.4 MB, free: 25.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.3136, allocations: 71.22 kB / 457.4 MB, free: 25.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.3136, allocations: 23.59 kB / 457.5 MB, free: 25.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.3138, allocations: 230.2 kB / 457.7 MB, free: 25.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3138, allocations: 0 / 457.7 MB, free: 25.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007583/0.3146, allocations: 255.9 kB / 457.9 MB, free: 25.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.003579/0.3182, allocations: 2.254 MB / 460.2 MB, free: 24.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.321, allocations: 1.467 MB / 461.7 MB, free: 23.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.321, allocations: 0 / 461.7 MB, free: 23.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.323, allocations: 0.9527 MB / 462.6 MB, free: 23.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.3234, allocations: 60.39 kB / 462.7 MB, free: 23.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007278/0.3307, allocations: 4.342 MB / 467 MB, free: 21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3311, allocations: 0.8655 MB / 467.9 MB, free: 20.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003054/0.3314, allocations: 77.38 kB / 468 MB, free: 20.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.3316, allocations: 183.7 kB / 468.1 MB, free: 20.13 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3317, allocations: 4 kB / 468.1 MB, free: 20.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04674/0.3784, allocations: 18.7 MB / 486.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.3786, allocations: 201.4 kB / 487 MB, free: 13.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.243, allocations: 0 / 487 MB, free: 13.01 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1) Environment - environmentSimulation: