Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.0007875/0.0007876, allocations: 91.52 kB / 16.31 MB, free: 5.621 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.0009709/0.0009707, allocations: 180.6 kB / 17.21 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 223.4 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3444/0.3444, allocations: 38.06 MB / 309.7 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005142, allocations: 18.19 kB / 376.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.135, allocations: 56.33 MB / 433 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004186/0.1393, allocations: 3.175 MB / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1411, allocations: 1.436 MB / 437.6 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1413, allocations: 7.938 kB / 437.6 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.1414, allocations: 35.7 kB / 437.6 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.1419, allocations: 219.1 kB / 437.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.1422, allocations: 95.75 kB / 437.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.1426, allocations: 434.8 kB / 438.3 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000619/0.1432, allocations: 327.1 kB / 438.7 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1435, allocations: 123.4 kB / 438.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.1437, allocations: 147.5 kB / 438.9 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1437, allocations: 8 kB / 438.9 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.144, allocations: 163.6 kB / 439.1 MB, free: 416 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1441, allocations: 91.75 kB / 439.2 MB, free: 324 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.1442, allocations: 65.58 kB / 439.2 MB, free: 252 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.1444, allocations: 239.5 kB / 439.5 MB, free: 12 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1444, allocations: 0 / 439.5 MB, free: 12 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1445, allocations: 0 / 439.5 MB, free: 12 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1445, allocations: 0 / 439.5 MB, free: 12 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006113/0.1451, allocations: 494.4 kB / 440 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1451, allocations: 12.03 kB / 440 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.099e-05/0.1452, allocations: 54.55 kB / 440 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007308/0.1459, allocations: 91.55 kB / 440.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1462, allocations: 255.2 kB / 440.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1463, allocations: 12 kB / 440.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.1463, allocations: 16 kB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.1468, allocations: 322.2 kB / 440.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1468, allocations: 0 / 440.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.1468, allocations: 11.95 kB / 440.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.1469, allocations: 15.98 kB / 440.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.1473, allocations: 295.7 kB / 441 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.1489, allocations: 1.289 MB / 442.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.1494, allocations: 217.1 kB / 442.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.1495, allocations: 61.69 kB / 442.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1495, allocations: 4 kB / 442.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1496, allocations: 34.56 kB / 442.6 MB, free: 12.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.1496, allocations: 0 / 442.6 MB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008934/0.1505, allocations: 426.2 kB / 443 MB, free: 12.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1505, allocations: 85 kB / 443.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1507, allocations: 198.2 kB / 443.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1507, allocations: 29.7 kB / 443.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.1508, allocations: 159.8 kB / 443.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.1509, allocations: 43.52 kB / 443.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.1509, allocations: 4 kB / 443.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.151, allocations: 342.9 kB / 443.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.1511, allocations: 55.91 kB / 443.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.1512, allocations: 140.8 kB / 444.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1514, allocations: 80.58 kB / 444.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1514, allocations: 0 / 444.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004069/0.1518, allocations: 257.9 kB / 444.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1518, allocations: 8.438 kB / 444.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1518, allocations: 8 kB / 444.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/0.1521, allocations: 44.78 kB / 444.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1522, allocations: 39.92 kB / 444.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.1533, allocations: 1.347 MB / 445.9 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1535, allocations: 12 kB / 445.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.1535, allocations: 15.88 kB / 445.9 MB, free: 9.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.1536, allocations: 161.9 kB / 446 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1537, allocations: 15.81 kB / 446.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.154, allocations: 191.9 kB / 446.2 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1541, allocations: 0 / 446.2 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1541, allocations: 4 kB / 446.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1541, allocations: 0 / 446.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007684/0.1548, allocations: 0.5562 MB / 446.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1549, allocations: 0 / 446.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/0.155, allocations: 27.92 kB / 446.8 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.1551, allocations: 28.83 kB / 446.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.1551, allocations: 8 kB / 446.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.1562, allocations: 1.315 MB / 448.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1562, allocations: 4.156 kB / 448.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.1565, allocations: 295.5 kB / 448.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.1566, allocations: 100.9 kB / 448.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.1566, allocations: 4 kB / 448.6 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.1567, allocations: 8 kB / 448.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1568, allocations: 11.94 kB / 448.6 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.1568, allocations: 4 kB / 448.6 MB, free: 6.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1569, allocations: 144.3 kB / 448.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1569, allocations: 0 / 448.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003478/0.1573, allocations: 52 kB / 448.8 MB, free: 5.902 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006121/0.1579, allocations: 0.8374 MB / 449.6 MB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.1584, allocations: 270.5 kB / 449.9 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1584, allocations: 0 / 449.9 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.1587, allocations: 183.5 kB / 450.1 MB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.159, allocations: 40.19 kB / 450.1 MB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.1609, allocations: 1.263 MB / 451.4 MB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1612, allocations: 0.7634 MB / 452.1 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.1614, allocations: 45.45 kB / 452.2 MB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.1615, allocations: 55.41 kB / 452.2 MB, free: 2.254 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1615, allocations: 0 / 452.2 MB, free: 2.254 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2408/0.4022, allocations: 3.489 MB / 455.7 MB, free: 50.53 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.4024, allocations: 203.1 kB / 455.9 MB, free: 50.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.174, allocations: 0 / 455.9 MB, free: 50.29 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) Environment - environmentSimulation: