Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.0007897/0.0007897, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001233/0.001233, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8864/0.8864, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2259/0.2259, allocations: 29.4 MB / 290.1 MB, free: 2.438 MB / 266.7 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.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.947e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004194/0.004214, allocations: 4.44 MB / 434.7 MB, free: 9.137 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.006366, allocations: 1.491 MB / 436.1 MB, free: 7.641 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.00662, allocations: 19.81 kB / 436.2 MB, free: 7.621 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000637/0.007257, allocations: 290.5 kB / 436.4 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005689/0.007826, allocations: 290.3 kB / 436.7 MB, free: 7.051 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.008555, allocations: 263.2 kB / 437 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006589/0.009214, allocations: 0.6233 MB / 437.6 MB, free: 6.168 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.009621, allocations: 220.5 kB / 437.8 MB, free: 5.945 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004891/0.01011, allocations: 370.9 kB / 438.2 MB, free: 5.582 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.01048, allocations: 315.2 kB / 438.5 MB, free: 5.273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.01052, allocations: 32 kB / 438.5 MB, free: 5.242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.0108, allocations: 155.7 kB / 438.7 MB, free: 5.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.01098, allocations: 231.4 kB / 438.9 MB, free: 4.863 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.01111, allocations: 167.6 kB / 439.1 MB, free: 4.699 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005915/0.01171, allocations: 0.6153 MB / 439.7 MB, free: 4.082 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01171, allocations: 4 kB / 439.7 MB, free: 4.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01171, allocations: 0 / 439.7 MB, free: 4.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.01172, allocations: 3.938 kB / 439.7 MB, free: 4.074 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001452/0.01318, allocations: 0.7055 MB / 440.4 MB, free: 3.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.01321, allocations: 15.98 kB / 440.4 MB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.224e-05/0.01329, allocations: 82.72 kB / 440.5 MB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004918/0.01378, allocations: 132.5 kB / 440.6 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005603/0.01434, allocations: 347.9 kB / 441 MB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.01437, allocations: 33.36 kB / 441 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.0145, allocations: 52.69 kB / 441 MB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.0152, allocations: 0.6638 MB / 441.7 MB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.01522, allocations: 0 / 441.7 MB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.01525, allocations: 23.92 kB / 441.7 MB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.01536, allocations: 48.97 kB / 441.8 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000555/0.01591, allocations: 499.4 kB / 442.3 MB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1606/0.1765, allocations: 2.964 MB / 445.2 MB, free: 52.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.177, allocations: 231 kB / 445.5 MB, free: 52.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1771, allocations: 118.7 kB / 445.6 MB, free: 52.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1771, allocations: 3.156 kB / 445.6 MB, free: 52.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.1771, allocations: 38.75 kB / 445.6 MB, free: 52.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.116e-06/0.1771, allocations: 3.281 kB / 445.6 MB, free: 52.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001035/0.1782, allocations: 0.8255 MB / 446.4 MB, free: 52.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1782, allocations: 83.7 kB / 446.5 MB, free: 51.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1784, allocations: 340 kB / 446.9 MB, free: 51.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1784, allocations: 32.89 kB / 446.9 MB, free: 51.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.1785, allocations: 297.1 kB / 447.2 MB, free: 51.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.1785, allocations: 91.92 kB / 447.3 MB, free: 51.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.1786, allocations: 87.84 kB / 447.4 MB, free: 51.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.1786, allocations: 347.3 kB / 447.7 MB, free: 51.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1787, allocations: 140.4 kB / 447.8 MB, free: 51.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.1789, allocations: 316.9 kB / 448.1 MB, free: 50.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.1792, allocations: 0.4911 MB / 448.6 MB, free: 50.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1792, allocations: 0 / 448.6 MB, free: 50.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006682/0.1799, allocations: 0.5979 MB / 449.2 MB, free: 50.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1799, allocations: 9.5 kB / 449.2 MB, free: 50.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003492/0.1803, allocations: 328 kB / 449.6 MB, free: 50.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/0.1805, allocations: 118.1 kB / 449.7 MB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1807, allocations: 93.61 kB / 449.8 MB, free: 50.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.182, allocations: 3.053 MB / 452.8 MB, free: 47.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.1822, allocations: 17.91 kB / 452.8 MB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.1822, allocations: 23.73 kB / 452.9 MB, free: 47.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.1824, allocations: 215.4 kB / 453.1 MB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1824, allocations: 32.48 kB / 453.1 MB, free: 47.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.1827, allocations: 314.9 kB / 453.4 MB, free: 47.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1827, allocations: 6.594 kB / 453.4 MB, free: 47.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1827, allocations: 6.453 kB / 453.4 MB, free: 47.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1827, allocations: 3.938 kB / 453.4 MB, free: 47.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.1834, allocations: 0.7516 MB / 454.2 MB, free: 46.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1834, allocations: 4.75 kB / 454.2 MB, free: 46.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1835, allocations: 57.73 kB / 454.2 MB, free: 46.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1835, allocations: 8.562 kB / 454.2 MB, free: 46.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1835, allocations: 10.53 kB / 454.3 MB, free: 46.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1835, allocations: 0 / 454.3 MB, free: 46.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1835, allocations: 3.156 kB / 454.3 MB, free: 46.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.1839, allocations: 0.502 MB / 454.8 MB, free: 46.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.184, allocations: 57.7 kB / 454.8 MB, free: 46.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.184, allocations: 13.66 kB / 454.8 MB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.1841, allocations: 9.891 kB / 454.8 MB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.1841, allocations: 17.7 kB / 454.9 MB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1841, allocations: 6.375 kB / 454.9 MB, free: 46.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1842, allocations: 225.8 kB / 455.1 MB, free: 46.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1842, allocations: 0 / 455.1 MB, free: 46.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003098/0.1845, allocations: 96.66 kB / 455.2 MB, free: 46.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (27): * Single equations (assignments): 26 * 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.0004635/0.185, allocations: 1.051 MB / 456.2 MB, free: 45.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005505/0.1856, allocations: 0.5677 MB / 456.8 MB, free: 44.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1856, allocations: 0 / 456.8 MB, free: 44.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1857, allocations: 120.7 kB / 456.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.186, allocations: 69.94 kB / 457 MB, free: 44.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.1889, allocations: 3.98 MB / 461 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.189, allocations: 269.3 kB / 461.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.1892, allocations: 112.7 kB / 461.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.1893, allocations: 145.2 kB / 461.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1893, allocations: 0 / 461.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.2127, allocations: 8.534 MB / 470 MB, free: 40.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.241, allocations: 7.906 kB / 470 MB, free: 40.61 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.083653341047466] Failed to read output from testmodel.py, exit status != 0: 7.329757750034332 7.337789377 7.32421083 Calling exit ...