Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001378/0.001378, 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.001423/0.001423, allocations: 215 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.519/1.519, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1926/0.1926, allocations: 38.5 MB / 349.4 MB, free: 2.688 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.002069/0.002069, allocations: 59.91 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1273, allocations: 62.41 MB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.00742/0.1347, allocations: 5.571 MB / 0.5428 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1371, allocations: 1.344 MB / 0.5441 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.1375, allocations: 27.75 kB / 0.5441 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.138, allocations: 135 kB / 0.5443 GB, free: 468 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.1391, allocations: 382.2 kB / 0.5446 GB, free: 84 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.1395, allocations: 139.8 kB / 0.5448 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.1407, allocations: 0.7474 MB / 0.5455 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.141, allocations: 156.2 kB / 0.5456 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009408/0.142, allocations: 362.6 kB / 0.546 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009669/0.1429, allocations: 398.6 kB / 0.5464 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.1431, allocations: 36 kB / 0.5464 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.1433, allocations: 36 kB / 0.5464 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.1436, allocations: 199.4 kB / 0.5466 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004163/0.144, allocations: 254.7 kB / 0.5469 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008518/0.1448, allocations: 0.529 MB / 0.5474 GB, free: 13.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1448, allocations: 4 kB / 0.5474 GB, free: 13.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1448, allocations: 4 kB / 0.5474 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.1449, allocations: 0 / 0.5474 GB, free: 13.23 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0018/0.1467, allocations: 0.8082 MB / 0.5482 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1467, allocations: 12.03 kB / 0.5482 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.247e-05/0.1468, allocations: 13.19 kB / 0.5482 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.1469, allocations: 78.72 kB / 0.5483 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.147, allocations: 60.5 kB / 0.5483 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009915/0.148, allocations: 488.3 kB / 0.5488 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.148, allocations: 36.92 kB / 0.5488 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.1481, allocations: 44 kB / 0.5489 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008712/0.149, allocations: 0.4883 MB / 0.5494 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.149, allocations: 7.938 kB / 0.5494 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.149, allocations: 20 kB / 0.5494 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/0.1491, allocations: 20.98 kB / 0.5494 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.1497, allocations: 363.7 kB / 0.5498 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.1527, allocations: 2.084 MB / 0.5518 GB, free: 8.449 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.1532, allocations: 221.3 kB / 0.552 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.1535, allocations: 121.7 kB / 0.5521 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1535, allocations: 0 / 0.5521 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.1535, allocations: 38.56 kB / 0.5521 GB, free: 8.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.1535, allocations: 0 / 0.5521 GB, free: 8.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001438/0.155, allocations: 0.7756 MB / 0.5529 GB, free: 7.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.155, allocations: 85.05 kB / 0.553 GB, free: 7.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.1555, allocations: 381.5 kB / 0.5534 GB, free: 6.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1555, allocations: 25.7 kB / 0.5534 GB, free: 6.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.1557, allocations: 295.8 kB / 0.5537 GB, free: 6.414 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.1558, allocations: 91.25 kB / 0.5537 GB, free: 6.324 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.1559, allocations: 78.09 kB / 0.5538 GB, free: 6.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1561, allocations: 350.8 kB / 0.5542 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1563, allocations: 92.75 kB / 0.5542 GB, free: 5.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.1566, allocations: 277.2 kB / 0.5545 GB, free: 5.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/0.1572, allocations: 400.5 kB / 0.5549 GB, free: 4.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1572, allocations: 4 kB / 0.5549 GB, free: 4.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007784/0.1579, allocations: 456.4 kB / 0.5553 GB, free: 4.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.158, allocations: 11.94 kB / 0.5553 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.158, allocations: 8 kB / 0.5553 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.1582, allocations: 49.39 kB / 0.5554 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.1585, allocations: 87.84 kB / 0.5555 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.1601, allocations: 1.614 MB / 0.5571 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.1603, allocations: 16 kB / 0.5571 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.1603, allocations: 20 kB / 0.5571 GB, free: 2.555 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.1606, allocations: 210.2 kB / 0.5573 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.1607, allocations: 43.66 kB / 0.5573 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.1611, allocations: 237 kB / 0.5576 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.1611, allocations: 7.984 kB / 0.5576 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1611, allocations: 4.062 kB / 0.5576 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1611, allocations: 4 kB / 0.5576 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.1621, allocations: 0.6876 MB / 0.5582 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1621, allocations: 0 / 0.5582 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.1624, allocations: 47.91 kB / 0.5583 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.1624, allocations: 4 kB / 0.5583 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1624, allocations: 12.06 kB / 0.5583 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1624, allocations: 0 / 0.5583 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1624, allocations: 0 / 0.5583 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.1629, allocations: 430.2 kB / 0.5587 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.1631, allocations: 120.8 kB / 0.5588 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.1631, allocations: 12.06 kB / 0.5588 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1633, allocations: 8 kB / 0.5588 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.1633, allocations: 15.97 kB / 0.5589 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1633, allocations: 8 kB / 0.5589 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.1636, allocations: 259.1 kB / 0.5591 GB, free: 360 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1636, allocations: 0 / 0.5591 GB, free: 360 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004512/0.164, allocations: 88 kB / 0.5592 GB, free: 272 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009427/0.165, allocations: 0.965 MB / 0.5601 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000723/0.1657, allocations: 377.8 kB / 0.5605 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1657, allocations: 0 / 0.5605 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1659, allocations: 87.83 kB / 0.5606 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.1665, allocations: 99.08 kB / 0.5607 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.1716, allocations: 3.724 MB / 0.5643 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.1722, allocations: 0.8584 MB / 0.5652 GB, free: 9.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.1725, allocations: 84.12 kB / 0.5652 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.1727, allocations: 147.4 kB / 0.5654 GB, free: 9.59 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1727, allocations: 0 / 0.5654 GB, free: 9.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.2046, allocations: 7.726 MB / 0.5729 GB, free: 2.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.18, allocations: 14.75 kB / 0.5729 GB, free: 2.043 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.202782468986697] Failed to read output from testmodel.py, exit status != 0: 11.330131719005294 11.344797758 11.196961369 Calling exit ...