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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 222.9 MB / 240.4 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 101 kB / 290.6 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05022/0.05022, allocations: 8.086 MB / 348.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 55.41 kB / 411.1 MB, free: 57.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.09557, allocations: 51.51 MB / 462.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.004529/0.1001, allocations: 3.626 MB / 466.2 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1018, allocations: 0.9613 MB / 467.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1019, allocations: 11.94 kB / 467.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.1024, allocations: 147.3 kB / 467.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.1029, allocations: 218.8 kB / 467.6 MB, free: 1.086 MB / 298.7 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.001816/0.1047, allocations: 1.226 MB / 468.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.1055, allocations: 485.6 kB / 469.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.1058, allocations: 141 kB / 469.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.106, allocations: 187.3 kB / 469.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.1063, allocations: 266.9 kB / 469.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.1064, allocations: 32 kB / 469.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/0.1069, allocations: 263.7 kB / 470.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.107, allocations: 91.61 kB / 470.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.1072, allocations: 226.8 kB / 470.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007754/0.108, allocations: 0.6503 MB / 471.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.108, allocations: 0 / 471.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.108, allocations: 0 / 471.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.108, allocations: 0 / 471.1 MB, free: 13.54 MB / 314.7 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.005005/0.113, allocations: 1.373 MB / 472.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1131, allocations: 12.03 kB / 472.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.1132, allocations: 52.38 kB / 472.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.1137, allocations: 343.5 kB / 472.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/0.1137, allocations: 59.27 kB / 472.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.1138, allocations: 48.38 kB / 473 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008614/0.1147, allocations: 0.5612 MB / 473.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1147, allocations: 3.938 kB / 473.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.1148, allocations: 16 kB / 473.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1148, allocations: 15.88 kB / 473.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007566/0.1155, allocations: 0.5154 MB / 474.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.1188, allocations: 2.238 MB / 476.3 MB, free: 7.973 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.1205, allocations: 0.7415 MB / 477.1 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.1212, allocations: 358.5 kB / 477.4 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.212e-05/0.1213, allocations: 20.53 kB / 477.4 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009621/0.1223, allocations: 411 kB / 477.8 MB, free: 6.418 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 3.577e-06/0.1223, allocations: 0 / 477.8 MB, free: 6.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.009815/0.1321, allocations: 2.112 MB / 479.9 MB, free: 4.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.1322, allocations: 81.67 kB / 480 MB, free: 4.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.1326, allocations: 282.9 kB / 480.3 MB, free: 3.895 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.31e-05/0.1328, allocations: 37.7 kB / 480.3 MB, free: 3.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1329, allocations: 177.5 kB / 480.5 MB, free: 3.676 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.1332, allocations: 212.9 kB / 480.7 MB, free: 3.465 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/0.1335, allocations: 126.6 kB / 480.8 MB, free: 3.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1337, allocations: 346.8 kB / 481.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/0.1344, allocations: 337.9 kB / 481.5 MB, free: 2.656 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008626/0.1353, allocations: 409.9 kB / 481.9 MB, free: 2.242 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.137, allocations: 0.754 MB / 482.7 MB, free: 1.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.137, allocations: 3.938 kB / 482.7 MB, free: 1.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003886/0.1409, allocations: 1.36 MB / 484 MB, free: 108 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.1409, allocations: 12 kB / 484 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.141, allocations: 0 / 484 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.199/0.34, allocations: 0.6679 MB / 484.7 MB, free: 28.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.3406, allocations: 98.41 kB / 484.8 MB, free: 28.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006434/0.347, allocations: 3.99 MB / 488.8 MB, free: 26.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.3475, allocations: 53.97 kB / 488.8 MB, free: 25.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.3476, allocations: 25.73 kB / 488.9 MB, free: 25.98 MB / 314.7 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.0001988/0.3478, allocations: 174.8 kB / 489 MB, free: 25.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.3478, allocations: 42.22 kB / 489.1 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003339/0.3512, allocations: 1.335 MB / 490.4 MB, free: 25.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.3512, allocations: 6.594 kB / 490.4 MB, free: 25.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.3512, allocations: 3.281 kB / 490.4 MB, free: 25.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3512, allocations: 7.875 kB / 490.4 MB, free: 25.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003801/0.355, allocations: 2.04 MB / 492.5 MB, free: 24.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3551, allocations: 0.6562 kB / 492.5 MB, free: 24.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.3553, allocations: 76.14 kB / 492.6 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002946/0.3583, allocations: 0.6653 MB / 493.2 MB, free: 24.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.3583, allocations: 14.2 kB / 493.2 MB, free: 24.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005806/0.3642, allocations: 3.922 MB / 497.2 MB, free: 21.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3642, allocations: 3.938 kB / 497.2 MB, free: 21.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/0.368, allocations: 2.366 MB / 499.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.3681, allocations: 127.6 kB / 499.6 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.3682, allocations: 12.83 kB / 499.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.3685, allocations: 29.38 kB / 499.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.3687, allocations: 55.83 kB / 499.7 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.3688, allocations: 23.17 kB / 499.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.369, allocations: 194.4 kB / 500 MB, free: 19.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.369, allocations: 0 / 500 MB, free: 19.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008113/0.3698, allocations: 214.2 kB / 0.4884 GB, free: 19.7 MB / 314.7 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.0001863/0.37, allocations: 129.4 kB / 0.4886 GB, free: 19.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.3723, allocations: 1.15 MB / 0.4897 GB, free: 19.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3723, allocations: 0 / 0.4897 GB, free: 19.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.3739, allocations: 0.7339 MB / 0.4904 GB, free: 18.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.3743, allocations: 47.81 kB / 0.4905 GB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.376, allocations: 1.418 MB / 0.4918 GB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.3763, allocations: 0.8434 MB / 0.4927 GB, free: 17.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.3765, allocations: 60.42 kB / 0.4927 GB, free: 16.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3766, allocations: 40.86 kB / 0.4928 GB, free: 16.98 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3766, allocations: 0 / 0.4928 GB, free: 16.98 MB / 314.7 MB Notification: Performance of Templates: time 0.01489/0.3915, allocations: 12.59 MB / 0.505 GB, free: 8.09 MB / 314.7 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)