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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.004844/0.004844, allocations: 88.56 kB / 15.91 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 195.9 kB / 16.83 MB, free: 6.242 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.231/1.231, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1304/0.1304, allocations: 8.087 MB / 298.7 MB, free: 2.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 60.14 kB / 361.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07545/0.07656, allocations: 51.53 MB / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.004347/0.08094, allocations: 4.131 MB / 416.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.08244, allocations: 1.059 MB / 417.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.0826, allocations: 12 kB / 417.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.083, allocations: 163.3 kB / 418 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.08351, allocations: 270.5 kB / 418.3 MB, free: 4.422 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001924/0.08544, allocations: 1.249 MB / 419.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.08595, allocations: 0.5753 MB / 420.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.0862, allocations: 201.7 kB / 420.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.08639, allocations: 243 kB / 420.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.08672, allocations: 330.6 kB / 420.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.618e-05/0.0868, allocations: 39.94 kB / 420.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.0872, allocations: 267.8 kB / 421.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.222e-05/0.0873, allocations: 107.5 kB / 421.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.08753, allocations: 286.5 kB / 421.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006608/0.0882, allocations: 0.7711 MB / 422.3 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.08821, allocations: 0 / 422.3 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.08822, allocations: 3.938 kB / 422.3 MB, free: 368 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.08823, allocations: 0 / 422.3 MB, free: 368 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.005298/0.09353, allocations: 1.626 MB / 424 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.09357, allocations: 12.03 kB / 424 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.621e-05/0.09367, allocations: 82.72 kB / 424 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.0938, allocations: 64.19 kB / 424.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.09425, allocations: 403.8 kB / 424.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.09433, allocations: 75.33 kB / 424.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/0.09441, allocations: 48.38 kB / 424.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.09543, allocations: 0.6855 MB / 425.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.09545, allocations: 4 kB / 425.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.09551, allocations: 24 kB / 425.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.09553, allocations: 8 kB / 425.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009157/0.09645, allocations: 0.6365 MB / 426 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.0995, allocations: 2.709 MB / 428.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.1008, allocations: 1.054 MB / 429.7 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/0.1014, allocations: 450.7 kB / 430.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.932e-05/0.1015, allocations: 20.62 kB / 430.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007449/0.1023, allocations: 0.4963 MB / 430.7 MB, free: 7.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 1.923e-06/0.1023, allocations: 7.938 kB / 430.7 MB, free: 7.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008205/0.1105, allocations: 2.638 MB / 433.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.1105, allocations: 89.7 kB / 433.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.1109, allocations: 341.5 kB / 433.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.144e-05/0.1109, allocations: 45.7 kB / 433.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.111, allocations: 193.3 kB / 434 MB, free: 4.152 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.1112, allocations: 268.2 kB / 434.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.1115, allocations: 142.7 kB / 434.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1116, allocations: 354.8 kB / 434.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.1122, allocations: 417.9 kB / 435.2 MB, free: 2.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006365/0.1128, allocations: 0.4904 MB / 435.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.1141, allocations: 0.9365 MB / 436.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1141, allocations: 0 / 436.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.1333/0.2474, allocations: 1.721 MB / 438.3 MB, free: 56.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2475, allocations: 10.75 kB / 438.3 MB, free: 56.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2475, allocations: 0 / 438.3 MB, free: 56.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003734/0.2512, allocations: 1.077 MB / 439.4 MB, free: 56.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.2518, allocations: 121.2 kB / 439.5 MB, free: 56.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007155/0.2589, allocations: 4.882 MB / 444.4 MB, free: 54.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.2595, allocations: 68.7 kB / 444.5 MB, free: 54.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.2595, allocations: 26.27 kB / 444.5 MB, free: 54.88 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000233/0.2598, allocations: 199.2 kB / 444.7 MB, free: 54.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/0.2598, allocations: 51.66 kB / 444.7 MB, free: 54.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.2638, allocations: 1.721 MB / 446.5 MB, free: 54.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2638, allocations: 9.875 kB / 446.5 MB, free: 54.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2638, allocations: 0 / 446.5 MB, free: 54.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.2638, allocations: 3.562 kB / 446.5 MB, free: 54.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004384/0.2682, allocations: 2.533 MB / 449 MB, free: 52.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2682, allocations: 4 kB / 449 MB, free: 52.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.2685, allocations: 89.5 kB / 449.1 MB, free: 52.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003534/0.2721, allocations: 0.9633 MB / 450.1 MB, free: 52.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.2721, allocations: 21.7 kB / 450.1 MB, free: 52.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/0.2789, allocations: 4.814 MB / 454.9 MB, free: 49.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2789, allocations: 0 / 454.9 MB, free: 49.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/0.2824, allocations: 1.683 MB / 456.6 MB, free: 48.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.2825, allocations: 143 kB / 456.7 MB, free: 48.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.2826, allocations: 17.98 kB / 456.7 MB, free: 48.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.2831, allocations: 38.39 kB / 456.8 MB, free: 48.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.2833, allocations: 63.03 kB / 456.8 MB, free: 48.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.2833, allocations: 26.11 kB / 456.9 MB, free: 48.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.2835, allocations: 233.7 kB / 457.1 MB, free: 48.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.92e-07/0.2835, allocations: 0 / 457.1 MB, free: 48.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006739/0.2842, allocations: 262.2 kB / 457.3 MB, free: 48.52 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003856/0.2881, allocations: 2.259 MB / 459.6 MB, free: 47.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.2909, allocations: 1.475 MB / 461.1 MB, free: 46.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2909, allocations: 3.062 kB / 461.1 MB, free: 46.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.2929, allocations: 0.9616 MB / 462 MB, free: 46.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.2934, allocations: 61.39 kB / 462.1 MB, free: 46.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.3041, allocations: 7.16 MB / 469.3 MB, free: 42.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.3043, allocations: 0.8725 MB / 470.1 MB, free: 41.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.3046, allocations: 73.3 kB / 470.2 MB, free: 41.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.3048, allocations: 193.4 kB / 470.4 MB, free: 41.51 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3048, allocations: 0 / 470.4 MB, free: 41.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1815/0.4863, allocations: 19.38 MB / 489.8 MB, free: 38.32 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.4865, allocations: 218.3 kB / 490 MB, free: 38.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.614, allocations: 3.625 kB / 490 MB, free: 38.07 MB / 366.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/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)