Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.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.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",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.001467/0.001467, allocations: 107.5 kB / 16.45 MB, free: 6.035 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.001602/0.001603, allocations: 190.8 kB / 17.39 MB, free: 5.559 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.458/1.458, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0536/0.0536, allocations: 8.104 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 59.91 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08974, allocations: 51.52 MB / 465.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.005247/0.09503, allocations: 3.609 MB / 469.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.09711, allocations: 0.9653 MB / 470.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.09744, allocations: 12 kB / 470.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.098, allocations: 179 kB / 470.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000806/0.09886, allocations: 246.4 kB / 470.5 MB, free: 13.63 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.002394/0.1013, allocations: 1.237 MB / 471.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007698/0.102, allocations: 497.6 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.1024, allocations: 176.2 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.1027, allocations: 207.2 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.1032, allocations: 274.9 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.593e-05/0.1033, allocations: 40 kB / 472.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005696/0.1038, allocations: 271.7 kB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.104, allocations: 103.6 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.1042, allocations: 234.8 kB / 473.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.1053, allocations: 0.6617 MB / 474.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1053, allocations: 0 / 474.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1053, allocations: 0 / 474.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1053, allocations: 3.938 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005126/0.1104, allocations: 1.387 MB / 475.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.1105, allocations: 15.89 kB / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.1106, allocations: 74.72 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1108, allocations: 52.66 kB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.1113, allocations: 351.5 kB / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.762e-05/0.1114, allocations: 67.27 kB / 476.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.1114, allocations: 40.38 kB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009952/0.1124, allocations: 0.5726 MB / 476.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1125, allocations: 0 / 476.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.1125, allocations: 16 kB / 476.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1125, allocations: 8 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000903/0.1135, allocations: 0.5193 MB / 477.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.1166, allocations: 2.231 MB / 479.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.118, allocations: 0.7494 MB / 480.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/0.1186, allocations: 346.5 kB / 480.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.718e-05/0.1187, allocations: 20.53 kB / 480.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008032/0.1195, allocations: 411 kB / 481 MB, free: 2.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.675e-06/0.1195, allocations: 4 kB / 481 MB, free: 2.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007477/0.127, allocations: 2.108 MB / 483.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/0.1271, allocations: 89.66 kB / 483.2 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.1275, allocations: 282.9 kB / 483.5 MB, free: 204 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.991e-05/0.1275, allocations: 41.7 kB / 483.5 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1277, allocations: 177.9 kB / 483.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.1279, allocations: 206.2 kB / 483.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.1281, allocations: 130.6 kB / 484 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1283, allocations: 346.8 kB / 484.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/0.1289, allocations: 345.9 kB / 484.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.1295, allocations: 409.9 kB / 485.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.1308, allocations: 0.754 MB / 485.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.1308, allocations: 0 / 485.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003629/0.1345, allocations: 1.356 MB / 487.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1345, allocations: 7.938 kB / 487.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.1345, allocations: 4 kB / 487.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003235/0.1378, allocations: 0.6748 MB / 487.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.1382, allocations: 99.89 kB / 488 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007789/0.146, allocations: 4.338 MB / 492.3 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/0.1465, allocations: 55.56 kB / 492.4 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/0.1466, allocations: 27.98 kB / 492.4 MB, free: 7.074 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 (62): * Single equations (assignments): 61 * 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 {(7,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002512/0.1469, allocations: 173.7 kB / 492.6 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.147, allocations: 47.66 kB / 492.6 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.1507, allocations: 1.327 MB / 494 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.1507, allocations: 8 kB / 494 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1507, allocations: 4 kB / 494 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1507, allocations: 3.984 kB / 494 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/0.1551, allocations: 2.029 MB / 496 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1551, allocations: 0 / 496 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.1554, allocations: 79.89 kB / 496.1 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003132/0.1585, allocations: 0.6741 MB / 496.8 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.1586, allocations: 19.98 kB / 496.8 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007459/0.1661, allocations: 4.282 MB / 0.4893 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1661, allocations: 3.938 kB / 0.4893 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.1697, allocations: 1.34 MB / 0.4906 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.1699, allocations: 128.6 kB / 0.4908 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-05/0.17, allocations: 15.98 kB / 0.4908 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.1704, allocations: 27.92 kB / 0.4908 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/0.1707, allocations: 52.48 kB / 0.4908 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/0.1707, allocations: 16 kB / 0.4909 GB, free: 12.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003285/0.1711, allocations: 202 kB / 0.4911 GB, free: 12.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1711, allocations: 0 / 0.4911 GB, free: 12.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007924/0.1719, allocations: 211.9 kB / 0.4913 GB, free: 12.18 MB / 382.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 (49): * Single equations (assignments): 48 * 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 {(7,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003914/0.1758, allocations: 1.915 MB / 0.4931 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002748/0.1785, allocations: 1.155 MB / 0.4943 GB, free: 9.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1786, allocations: 0 / 0.4943 GB, free: 9.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.1804, allocations: 0.7359 MB / 0.495 GB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.1808, allocations: 43.45 kB / 0.495 GB, free: 8.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.1922, allocations: 5.68 MB / 0.5006 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.1928, allocations: 0.8298 MB / 0.5014 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002435/0.1931, allocations: 63.22 kB / 0.5014 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.1933, allocations: 147.4 kB / 0.5016 GB, free: 1.445 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1933, allocations: 4 kB / 0.5016 GB, free: 1.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.257/0.4504, allocations: 16.77 MB / 0.5179 GB, free: 42.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.57, allocations: 5.438 kB / 0.518 GB, free: 42.21 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)