Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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/PowerSystems 2.0.0/package.mo", uses=false) 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.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(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",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.001194/0.001194, allocations: 106 kB / 16.62 MB, free: 6.812 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.001233/0.001233, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.36/1.36, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1738/0.1738, allocations: 38.02 MB / 329.4 MB, free: 8.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 65.59 kB / 398.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1304, allocations: 58.05 MB / 456.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.01254/0.143, allocations: 6.023 MB / 462.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006095/0.1491, allocations: 1.99 MB / 464.4 MB, free: 280 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.1503, allocations: 39.75 kB / 464.5 MB, free: 240 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.1528, allocations: 420.1 kB / 464.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.1541, allocations: 274.8 kB / 465.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.1557, allocations: 331.4 kB / 465.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.1574, allocations: 0.7598 MB / 466.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.1585, allocations: 402.1 kB / 466.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008668/0.1594, allocations: 330.7 kB / 467 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.1606, allocations: 490.6 kB / 467.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.1608, allocations: 48 kB / 467.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006439/0.1615, allocations: 179.7 kB / 467.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.1619, allocations: 287.3 kB / 467.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007722/0.1627, allocations: 334.4 kB / 468.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.1642, allocations: 0.8061 MB / 469.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1643, allocations: 0 / 469.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1643, allocations: 3.938 kB / 469.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.586e-05/0.1643, allocations: 0 / 469.1 MB, free: 11.61 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.003049/0.1674, allocations: 0.9175 MB / 470 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.1675, allocations: 11.89 kB / 470 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002219/0.1677, allocations: 98.69 kB / 470.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.1695, allocations: 136 kB / 470.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.171, allocations: 0.5119 MB / 470.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/0.1711, allocations: 44.92 kB / 470.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006714/0.1718, allocations: 127.8 kB / 470.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.174, allocations: 0.8548 MB / 471.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.174, allocations: 0 / 471.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.1742, allocations: 27.98 kB / 471.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007892/0.175, allocations: 72.88 kB / 471.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.1768, allocations: 0.6205 MB / 472.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007595/0.1845, allocations: 3.792 MB / 476.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.1863, allocations: 0.5437 MB / 476.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008005/0.1872, allocations: 319 kB / 477.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.386e-05/0.1873, allocations: 8.375 kB / 477.2 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.1873, allocations: 39 kB / 477.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 3.626e-06/0.1874, allocations: 0 / 477.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.004685/0.1921, allocations: 1.84 MB / 479 MB, free: 1.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.1921, allocations: 81.55 kB / 479.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.1926, allocations: 421.8 kB / 479.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.1927, allocations: 33.7 kB / 479.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.1931, allocations: 331.6 kB / 479.9 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.1932, allocations: 197.2 kB / 480.1 MB, free: 176 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.1935, allocations: 150.2 kB / 480.2 MB, free: 20 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1937, allocations: 374.8 kB / 480.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/0.1942, allocations: 377.5 kB / 481 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007054/0.1949, allocations: 0.5979 MB / 481.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.1963, allocations: 1.065 MB / 482.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.1963, allocations: 0 / 482.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00454/0.2009, allocations: 1.999 MB / 484.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.2009, allocations: 8 kB / 484.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.201, allocations: 15.92 kB / 484.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/0.2035, allocations: 0.9659 MB / 485.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.2039, allocations: 115.8 kB / 485.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.215, allocations: 8.204 MB / 493.9 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.2157, allocations: 35.91 kB / 494 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.2158, allocations: 35.94 kB / 494 MB, free: 1.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * 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: 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,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004135/0.2162, allocations: 253.6 kB / 494.2 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.2164, allocations: 55.41 kB / 494.3 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.2176, allocations: 0.7219 MB / 495 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.2176, allocations: 11.98 kB / 495 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2176, allocations: 0 / 495 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.2177, allocations: 3.984 kB / 495 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.2202, allocations: 1.517 MB / 496.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2202, allocations: 0 / 496.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.2213, allocations: 191.9 kB / 496.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.2213, allocations: 0 / 496.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/0.2214, allocations: 31.92 kB / 496.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.2214, allocations: 4 kB / 496.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2214, allocations: 0 / 496.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.2227, allocations: 1.004 MB / 497.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.2229, allocations: 132.4 kB / 497.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.223, allocations: 23.98 kB / 497.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.2234, allocations: 27.97 kB / 498 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.2235, allocations: 32.39 kB / 498 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.2235, allocations: 16 kB / 498 MB, free: 13.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002813/0.2238, allocations: 287.1 kB / 498.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.2238, allocations: 0 / 498.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008533/0.2247, allocations: 219.9 kB / 498.5 MB, free: 13.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * 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.001595/0.2263, allocations: 1.554 MB / 0.4883 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002782/0.2291, allocations: 1.656 MB / 0.4899 GB, free: 9.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2291, allocations: 0 / 0.4899 GB, free: 9.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004232/0.2295, allocations: 311.1 kB / 0.4902 GB, free: 9.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007117/0.2303, allocations: 137.7 kB / 0.4904 GB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/0.2472, allocations: 9.981 MB / 0.5001 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007283/0.248, allocations: 0.9804 MB / 0.5011 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006468/0.2487, allocations: 204.6 kB / 0.5013 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.2491, allocations: 239.3 kB / 0.5015 GB, free: 13.65 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2491, allocations: 0 / 0.5015 GB, free: 13.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2392/0.4884, allocations: 17.32 MB / 0.5184 GB, free: 72.15 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.4886, allocations: 208.5 kB / 0.5186 GB, free: 71.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.712, allocations: 0 / 0.5186 GB, free: 71.9 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)