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.001238/0.001239, allocations: 110.4 kB / 16.45 MB, free: 6.43 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.001412/0.001412, allocations: 186.9 kB / 17.39 MB, free: 5.676 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.26/1.26, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0499/0.0499, allocations: 8.101 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 71.88 kB / 414 MB, free: 22.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.0859, allocations: 51.52 MB / 465.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.004871/0.09081, allocations: 4.123 MB / 469.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.09261, allocations: 1.073 MB / 470.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.09278, allocations: 8 kB / 470.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.09322, allocations: 198.8 kB / 470.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005958/0.09383, allocations: 306 kB / 471.2 MB, free: 12.91 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.002135/0.09597, allocations: 1.272 MB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006622/0.09664, allocations: 0.6104 MB / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.09695, allocations: 225.4 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.09718, allocations: 259 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.09757, allocations: 342.6 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.881e-05/0.09765, allocations: 52 kB / 473.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004365/0.09809, allocations: 283.7 kB / 474.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.0982, allocations: 127.5 kB / 474.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.09843, allocations: 298.5 kB / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007656/0.0992, allocations: 0.7875 MB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.09922, allocations: 0 / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09922, allocations: 4 kB / 475.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.09924, allocations: 0 / 475.4 MB, free: 8.668 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.005432/0.1047, allocations: 1.626 MB / 477.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1047, allocations: 19.89 kB / 477.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.193e-05/0.1048, allocations: 82.72 kB / 477.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.105, allocations: 64.27 kB / 477.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.1055, allocations: 403.7 kB / 477.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.1055, allocations: 67.45 kB / 477.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.678e-05/0.1056, allocations: 56.31 kB / 477.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.1066, allocations: 0.6893 MB / 478.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1066, allocations: 0 / 478.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.1067, allocations: 16 kB / 478.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.1067, allocations: 16 kB / 478.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009226/0.1076, allocations: 0.6404 MB / 479.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.1108, allocations: 2.693 MB / 481.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.1122, allocations: 1.061 MB / 482.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.1128, allocations: 446.7 kB / 483.3 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.584e-05/0.1129, allocations: 20.62 kB / 483.3 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007798/0.1136, allocations: 0.5003 MB / 483.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.054e-06/0.1137, allocations: 4 kB / 483.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008476/0.1221, allocations: 2.645 MB / 486.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.1222, allocations: 85.7 kB / 486.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.1226, allocations: 341.5 kB / 486.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.1226, allocations: 41.7 kB / 486.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1228, allocations: 201.3 kB / 487.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.1229, allocations: 256.2 kB / 487.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.1232, allocations: 154.6 kB / 487.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1233, allocations: 358.8 kB / 487.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.1239, allocations: 417.9 kB / 488.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000636/0.1246, allocations: 486.3 kB / 488.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.1259, allocations: 0.9405 MB / 489.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.1259, allocations: 0 / 489.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004104/0.13, allocations: 1.723 MB / 491.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.13, allocations: 4 kB / 491.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.13, allocations: 0 / 491.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004026/0.1341, allocations: 1.077 MB / 492.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.1345, allocations: 127.8 kB / 492.6 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009212/0.1438, allocations: 5.322 MB / 497.9 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.1443, allocations: 75.27 kB / 498 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.1444, allocations: 24 kB / 498 MB, free: 1.355 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.000292/0.1447, allocations: 197.6 kB / 498.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.1449, allocations: 59.22 kB / 498.3 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.1491, allocations: 1.702 MB / 500 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.1491, allocations: 8 kB / 500 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1492, allocations: 7.938 kB / 500 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1492, allocations: 3.984 kB / 0.4883 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005012/0.1542, allocations: 2.532 MB / 0.4908 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1542, allocations: 4 kB / 0.4908 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.1545, allocations: 95.83 kB / 0.4909 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003786/0.1583, allocations: 0.9568 MB / 0.4918 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.1584, allocations: 16 kB / 0.4918 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008678/0.1671, allocations: 5.251 MB / 0.4969 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1671, allocations: 0 / 0.4969 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/0.1712, allocations: 1.681 MB / 0.4986 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.1713, allocations: 144.2 kB / 0.4987 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/0.1714, allocations: 16 kB / 0.4987 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.1719, allocations: 35.97 kB / 0.4988 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.1721, allocations: 68.91 kB / 0.4988 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.1722, allocations: 24 kB / 0.4988 GB, free: 4.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002564/0.1724, allocations: 235.2 kB / 0.4991 GB, free: 4.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1724, allocations: 0 / 0.4991 GB, free: 4.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007442/0.1732, allocations: 263.8 kB / 0.4993 GB, free: 3.801 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.004358/0.1776, allocations: 2.263 MB / 0.5015 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003279/0.1809, allocations: 1.495 MB / 0.503 GB, free: 0 / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.3614, allocations: 1.328 kB / 0.503 GB, free: 46.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00263/0.3641, allocations: 0.9745 MB / 0.5039 GB, free: 46.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.3646, allocations: 61.44 kB / 0.504 GB, free: 46.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.3766, allocations: 6.895 MB / 0.5107 GB, free: 43.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.3769, allocations: 0.8695 MB / 0.5116 GB, free: 42.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002456/0.3772, allocations: 75.89 kB / 0.5117 GB, free: 42.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.3774, allocations: 188.5 kB / 0.5118 GB, free: 42.79 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3774, allocations: 0 / 0.5118 GB, free: 42.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03991/0.4173, allocations: 21.45 MB / 0.5328 GB, free: 30.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 11.16 kB / 0.5328 GB, free: 30.61 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)