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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 120.1 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 215.1 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.591/1.591, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1891/0.1891, allocations: 38.5 MB / 349.4 MB, free: 2.594 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1275, allocations: 62.43 MB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.006783/0.1343, allocations: 3.462 MB / 0.5407 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.1373, allocations: 1.492 MB / 0.5422 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.1375, allocations: 11.94 kB / 0.5422 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1385, allocations: 266.9 kB / 0.5425 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008275/0.1394, allocations: 283 kB / 0.5427 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.1398, allocations: 111.7 kB / 0.5428 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005859/0.1404, allocations: 331.1 kB / 0.5431 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.1407, allocations: 117.1 kB / 0.5433 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.141, allocations: 167.3 kB / 0.5434 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.1413, allocations: 163.5 kB / 0.5436 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.1413, allocations: 15.94 kB / 0.5436 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005781/0.1419, allocations: 319.2 kB / 0.5439 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.142, allocations: 103.6 kB / 0.544 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.1422, allocations: 111.5 kB / 0.5441 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.1427, allocations: 338.8 kB / 0.5444 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1427, allocations: 0 / 0.5444 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1427, allocations: 8 kB / 0.5444 GB, free: 292 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1427, allocations: 0 / 0.5444 GB, free: 292 kB / 398.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.0008362/0.1436, allocations: 0.5177 MB / 0.5449 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1436, allocations: 8.031 kB / 0.5449 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.441e-05/0.1436, allocations: 4.188 kB / 0.5449 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.1437, allocations: 58.73 kB / 0.545 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/0.1446, allocations: 92.69 kB / 0.5451 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.145, allocations: 268.6 kB / 0.5453 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.145, allocations: 20.06 kB / 0.5454 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.1451, allocations: 19.95 kB / 0.5454 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.1456, allocations: 318.3 kB / 0.5457 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1457, allocations: 0 / 0.5457 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.1457, allocations: 8 kB / 0.5457 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.1457, allocations: 19.92 kB / 0.5457 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.1462, allocations: 291.7 kB / 0.546 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.148, allocations: 1.289 MB / 0.5473 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/0.1486, allocations: 205.1 kB / 0.5474 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/0.1487, allocations: 61.73 kB / 0.5475 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1487, allocations: 0 / 0.5475 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1487, allocations: 38.5 kB / 0.5475 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.1487, allocations: 0 / 0.5475 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001027/0.1498, allocations: 442.8 kB / 0.548 GB, free: 12.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.1498, allocations: 81.11 kB / 0.548 GB, free: 12.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.15, allocations: 198.2 kB / 0.5482 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1501, allocations: 29.7 kB / 0.5483 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1502, allocations: 164.1 kB / 0.5484 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.1502, allocations: 51.7 kB / 0.5485 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.1503, allocations: 49.66 kB / 0.5485 GB, free: 11.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1505, allocations: 334.8 kB / 0.5488 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1506, allocations: 51.97 kB / 0.5489 GB, free: 11.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.1507, allocations: 152.7 kB / 0.549 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.151, allocations: 233.3 kB / 0.5493 GB, free: 10.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1511, allocations: 0 / 0.5493 GB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004713/0.1515, allocations: 262.3 kB / 0.5495 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1515, allocations: 8.031 kB / 0.5495 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1515, allocations: 4 kB / 0.5495 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.1518, allocations: 40.77 kB / 0.5496 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.152, allocations: 47.97 kB / 0.5496 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.1533, allocations: 1.437 MB / 0.551 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1534, allocations: 8 kB / 0.551 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1534, allocations: 8.062 kB / 0.551 GB, free: 8.961 MB / 414.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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.1536, allocations: 165.8 kB / 0.5512 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.1537, allocations: 23.84 kB / 0.5512 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.1541, allocations: 184 kB / 0.5514 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1541, allocations: 4 kB / 0.5514 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1541, allocations: 0 / 0.5514 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1541, allocations: 0 / 0.5514 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.155, allocations: 0.5679 MB / 0.5519 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.155, allocations: 0 / 0.5519 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/0.1551, allocations: 23.92 kB / 0.552 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.1552, allocations: 32.78 kB / 0.552 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.1552, allocations: 16.08 kB / 0.552 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.1565, allocations: 1.418 MB / 0.5534 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1565, allocations: 0 / 0.5534 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.1569, allocations: 306.5 kB / 0.5537 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.157, allocations: 93 kB / 0.5538 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.157, allocations: 8 kB / 0.5538 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1571, allocations: 0 / 0.5538 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.1571, allocations: 19.92 kB / 0.5538 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1571, allocations: 4 kB / 0.5538 GB, free: 5.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1573, allocations: 144.3 kB / 0.5539 GB, free: 5.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1573, allocations: 4 kB / 0.5539 GB, free: 5.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003753/0.1577, allocations: 52 kB / 0.554 GB, free: 5.633 MB / 414.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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007438/0.1584, allocations: 0.8334 MB / 0.5548 GB, free: 4.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000534/0.1589, allocations: 263.2 kB / 0.5551 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1589, allocations: 3.938 kB / 0.5551 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.1592, allocations: 174.7 kB / 0.5552 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1595, allocations: 30.72 kB / 0.5553 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.1626, allocations: 2.386 MB / 0.5576 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.163, allocations: 0.7593 MB / 0.5583 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.1631, allocations: 45.45 kB / 0.5584 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.1632, allocations: 59.41 kB / 0.5584 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1632, allocations: 4 kB / 0.5584 GB, free: 0.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.1875, allocations: 3.956 MB / 0.5623 GB, free: 12.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.65, allocations: 7.203 kB / 0.5623 GB, free: 12.95 MB / 430.1 MB " [Timeout remaining time 649] (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/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.673170582973398] Failed to read output from testmodel.py, exit status != 0: 10.788626743014902 10.80471328 10.65867928 Calling exit ...