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/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: translateModel(PowerSysPro.Examples.BreakerTests.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") translateModel(PowerSysPro.Examples.BreakerTests.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 102.3 kB / 16.45 MB, free: 6.438 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.001332/0.001332, allocations: 186.4 kB / 17.39 MB, free: 5.688 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04811/0.04811, allocations: 8.101 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 414.5 MB, free: 21.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09959, allocations: 51.51 MB / 466 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.004356/0.104, allocations: 3.605 MB / 469.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1057, allocations: 0.9728 MB / 470.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1058, allocations: 8 kB / 470.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.1062, allocations: 179 kB / 470.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.1067, allocations: 250.4 kB / 471 MB, free: 13.24 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.002015/0.1087, allocations: 1.233 MB / 472.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.1093, allocations: 497.6 kB / 472.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.1096, allocations: 176.2 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.1098, allocations: 203.2 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.1101, allocations: 274.9 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-05/0.1102, allocations: 40 kB / 473.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004257/0.1107, allocations: 267.8 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.1107, allocations: 103.6 kB / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.1109, allocations: 234.8 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.1116, allocations: 0.6656 MB / 474.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1116, allocations: 0 / 474.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1117, allocations: 0 / 474.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1117, allocations: 0 / 474.7 MB, free: 9.574 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.00453/0.1162, allocations: 1.391 MB / 476.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1162, allocations: 12.03 kB / 476.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.1164, allocations: 52.66 kB / 476.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.1168, allocations: 347.5 kB / 476.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/0.1169, allocations: 67.27 kB / 476.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.1169, allocations: 40.38 kB / 476.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008967/0.1178, allocations: 0.5689 MB / 477.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1179, allocations: 3.938 kB / 477.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.807e-05/0.1179, allocations: 16 kB / 477.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1179, allocations: 8 kB / 477.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007592/0.1187, allocations: 0.5154 MB / 477.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.1213, allocations: 2.231 MB / 479.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.1225, allocations: 0.7455 MB / 480.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.123, allocations: 350.5 kB / 481 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.103e-05/0.1231, allocations: 24.47 kB / 481 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006672/0.1238, allocations: 411 kB / 481.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 1.934e-06/0.1238, allocations: 3.938 kB / 481.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.006539/0.1303, allocations: 2.108 MB / 483.5 MB, free: 304 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.1304, allocations: 89.67 kB / 483.6 MB, free: 196 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.1307, allocations: 290.8 kB / 483.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.1307, allocations: 37.7 kB / 483.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1309, allocations: 177.7 kB / 484.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.131, allocations: 214.1 kB / 484.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.1312, allocations: 126.7 kB / 484.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1313, allocations: 346.8 kB / 484.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.1319, allocations: 345.9 kB / 485.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.1324, allocations: 406 kB / 485.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.1335, allocations: 0.7539 MB / 486.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1335, allocations: 0 / 486.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003115/0.1366, allocations: 1.36 MB / 487.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1366, allocations: 4 kB / 487.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.1366, allocations: 4 kB / 487.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/0.1395, allocations: 0.6784 MB / 488.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.1399, allocations: 99.83 kB / 488.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00652/0.1464, allocations: 4.33 MB / 492.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.1468, allocations: 55.62 kB / 492.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.1469, allocations: 27.98 kB / 492.8 MB, free: 6.777 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.0002118/0.1471, allocations: 181.6 kB / 493 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.1472, allocations: 43.72 kB / 493 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.1504, allocations: 1.327 MB / 494.4 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.1505, allocations: 11.98 kB / 494.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1505, allocations: 0 / 494.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.1505, allocations: 7.984 kB / 494.4 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003952/0.1544, allocations: 2.033 MB / 496.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1545, allocations: 0 / 496.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.1548, allocations: 79.89 kB / 496.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002854/0.1576, allocations: 0.67 MB / 497.2 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-05/0.1577, allocations: 19.88 kB / 497.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006777/0.1645, allocations: 4.289 MB / 0.4897 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1645, allocations: 0 / 0.4897 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/0.1678, allocations: 1.344 MB / 0.491 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.168, allocations: 124.6 kB / 0.4912 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.1681, allocations: 19.98 kB / 0.4912 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.1685, allocations: 23.98 kB / 0.4912 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.1687, allocations: 52.44 kB / 0.4913 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/0.1687, allocations: 19.98 kB / 0.4913 GB, free: 12.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002833/0.169, allocations: 198 kB / 0.4915 GB, free: 12.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.169, allocations: 4 kB / 0.4915 GB, free: 12.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008341/0.1699, allocations: 211.9 kB / 0.4917 GB, free: 11.87 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.0002691/0.1702, allocations: 127.2 kB / 0.4918 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0025/0.1727, allocations: 1.155 MB / 0.4929 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1727, allocations: 0 / 0.4929 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.1743, allocations: 0.7359 MB / 0.4936 GB, free: 9.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.1747, allocations: 52.58 kB / 0.4937 GB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.1762, allocations: 0.8873 MB / 0.4945 GB, free: 8.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.1767, allocations: 0.8337 MB / 0.4954 GB, free: 8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.1769, allocations: 67.22 kB / 0.4954 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.177, allocations: 43.42 kB / 0.4955 GB, free: 7.891 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.177, allocations: 0 / 0.4955 GB, free: 7.891 MB / 382.1 MB Notification: Performance of Templates: time 0.2215/0.3985, allocations: 12.8 MB / 0.508 GB, free: 45.74 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)