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.001409/0.001409, allocations: 107.2 kB / 16.45 MB, free: 6.449 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.001352/0.001352, allocations: 188.9 kB / 17.39 MB, free: 5.684 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.486/1.486, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05221/0.05222, allocations: 8.098 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 68.09 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09431/0.09613, allocations: 51.51 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.005272/0.1014, allocations: 4.115 MB / 469.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1035, allocations: 1.086 MB / 470.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1036, allocations: 8 kB / 470.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.1041, allocations: 194.8 kB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006373/0.1048, allocations: 306 kB / 471.2 MB, free: 12.93 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.00237/0.1071, allocations: 1.26 MB / 472.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000874/0.108, allocations: 0.6181 MB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.1084, allocations: 221.4 kB / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.1087, allocations: 262.9 kB / 473.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.1092, allocations: 334.7 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1093, allocations: 52 kB / 473.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005519/0.1098, allocations: 295.7 kB / 474.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1099, allocations: 119.5 kB / 474.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.1103, allocations: 298.5 kB / 474.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.1113, allocations: 0.7861 MB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1113, allocations: 0 / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1114, allocations: 0 / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1114, allocations: 0 / 475.4 MB, free: 8.695 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.006057/0.1174, allocations: 1.645 MB / 477.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1175, allocations: 15.89 kB / 477.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.1176, allocations: 90.69 kB / 477.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.1178, allocations: 72.52 kB / 477.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.1184, allocations: 403.9 kB / 477.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.334e-05/0.1185, allocations: 75.39 kB / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.1186, allocations: 48.38 kB / 477.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.1197, allocations: 0.6894 MB / 478.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1197, allocations: 0 / 478.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.538e-05/0.1198, allocations: 24 kB / 478.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.1198, allocations: 8 kB / 478.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.1208, allocations: 0.6403 MB / 479.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.1245, allocations: 2.705 MB / 481.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.126, allocations: 1.054 MB / 482.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006652/0.1267, allocations: 450.7 kB / 483.3 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.62e-05/0.1268, allocations: 20.58 kB / 483.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008895/0.1277, allocations: 0.4963 MB / 483.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.165e-06/0.1277, allocations: 0 / 483.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.00911/0.1368, allocations: 2.65 MB / 486.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.1369, allocations: 89.7 kB / 486.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.1374, allocations: 337.6 kB / 486.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/0.1375, allocations: 41.7 kB / 486.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1376, allocations: 205.5 kB / 487.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.1379, allocations: 265.7 kB / 487.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.1381, allocations: 150.6 kB / 487.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1383, allocations: 362.8 kB / 487.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006733/0.139, allocations: 417.9 kB / 488.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.1398, allocations: 494.2 kB / 488.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.1413, allocations: 0.9326 MB / 489.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1413, allocations: 0 / 489.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004562/0.1459, allocations: 1.732 MB / 491.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1459, allocations: 4 kB / 491.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1459, allocations: 0 / 491.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004317/0.1502, allocations: 1.088 MB / 492.5 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.1508, allocations: 119.8 kB / 492.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009953/0.1607, allocations: 5.339 MB / 498 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/0.1613, allocations: 71.45 kB / 498.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.1614, allocations: 31.98 kB / 498.1 MB, free: 1.305 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.0002788/0.1617, allocations: 189.7 kB / 498.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.1618, allocations: 59.55 kB / 498.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00446/0.1663, allocations: 1.706 MB / 0.4883 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.1663, allocations: 8 kB / 0.4883 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1663, allocations: 3.938 kB / 0.4883 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.1663, allocations: 3.984 kB / 0.4883 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/0.1716, allocations: 2.54 MB / 0.4908 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1716, allocations: 0 / 0.4908 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.1719, allocations: 95.83 kB / 0.4909 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00397/0.1759, allocations: 0.9568 MB / 0.4919 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-05/0.176, allocations: 16 kB / 0.4919 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00935/0.1853, allocations: 5.256 MB / 0.497 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1853, allocations: 0 / 0.497 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004344/0.1897, allocations: 1.696 MB / 0.4987 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.1899, allocations: 136.5 kB / 0.4988 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.19, allocations: 16 kB / 0.4988 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.1904, allocations: 39.97 kB / 0.4988 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.1906, allocations: 60.91 kB / 0.4989 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.1907, allocations: 24 kB / 0.4989 GB, free: 4.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002805/0.191, allocations: 231.2 kB / 0.4991 GB, free: 4.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.191, allocations: 0 / 0.4991 GB, free: 4.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007681/0.1918, allocations: 263.9 kB / 0.4994 GB, free: 3.75 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 (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.004786/0.1966, allocations: 2.271 MB / 0.5016 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2077/0.4043, allocations: 1.495 MB / 0.5031 GB, free: 46.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.4043, allocations: 1.75 kB / 0.5031 GB, free: 46.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003019/0.4074, allocations: 0.9899 MB / 0.504 GB, free: 45.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006474/0.408, allocations: 59.67 kB / 0.5041 GB, free: 45.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.4219, allocations: 6.9 MB / 0.5108 GB, free: 43.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/0.4226, allocations: 0.8707 MB / 0.5117 GB, free: 42.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003765/0.423, allocations: 76.33 kB / 0.5118 GB, free: 42.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.4234, allocations: 190.8 kB / 0.5119 GB, free: 42.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.734e-06/0.4234, allocations: 1.375 kB / 0.5119 GB, free: 42.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05059/0.474, allocations: 20.71 MB / 0.5322 GB, free: 31.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.76, allocations: 8.344 kB / 0.5322 GB, free: 31.4 MB / 382.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)