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.001278/0.001278, allocations: 111.6 kB / 17.06 MB, free: 5.973 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.001944/0.001945, allocations: 197.4 kB / 18.01 MB, free: 5.047 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.37/1.37, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1779/0.1779, allocations: 38.04 MB / 329.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 64.03 kB / 457.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3338, allocations: 58.06 MB / 0.5036 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.005225/0.3391, allocations: 5.176 MB / 0.5087 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.3414, allocations: 1.751 MB / 0.5104 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.3417, allocations: 18.5 kB / 0.5104 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.3427, allocations: 440.7 kB / 0.5108 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005604/0.3433, allocations: 300.1 kB / 0.5111 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008102/0.3441, allocations: 361 kB / 0.5115 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006904/0.3448, allocations: 0.758 MB / 0.5122 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004914/0.3453, allocations: 380.3 kB / 0.5126 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.3458, allocations: 334.5 kB / 0.5129 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.3464, allocations: 461.6 kB / 0.5133 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.3465, allocations: 50.84 kB / 0.5134 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.3469, allocations: 170.8 kB / 0.5135 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.3471, allocations: 288.6 kB / 0.5138 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000299/0.3474, allocations: 340.6 kB / 0.5141 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008301/0.3483, allocations: 0.8138 MB / 0.5149 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3483, allocations: 4.734 kB / 0.5149 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3483, allocations: 0 / 0.5149 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.3483, allocations: 0 / 0.5149 GB, free: 0.6055 MB / 382.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.001537/0.3499, allocations: 0.9281 MB / 0.5158 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3499, allocations: 13.88 kB / 0.5158 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.35, allocations: 97.2 kB / 0.5159 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009735/0.351, allocations: 138.4 kB / 0.5161 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.3521, allocations: 0.5426 MB / 0.5166 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.3521, allocations: 38.45 kB / 0.5166 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000379/0.3525, allocations: 126.5 kB / 0.5168 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.354, allocations: 0.8702 MB / 0.5176 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.354, allocations: 5.062 kB / 0.5176 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/0.3541, allocations: 17.81 kB / 0.5176 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004539/0.3546, allocations: 75.39 kB / 0.5177 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.3556, allocations: 0.6208 MB / 0.5183 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004739/0.3603, allocations: 3.784 MB / 0.522 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3615, allocations: 0.5395 MB / 0.5225 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.3619, allocations: 317.3 kB / 0.5228 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.886e-05/0.362, allocations: 10.59 kB / 0.5228 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.362, allocations: 38.45 kB / 0.5229 GB, free: 11.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.013e-06/0.362, allocations: 4 kB / 0.5229 GB, free: 11.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003164/0.3652, allocations: 1.851 MB / 0.5247 GB, free: 10.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.3653, allocations: 86.12 kB / 0.5248 GB, free: 10.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.3658, allocations: 420.9 kB / 0.5252 GB, free: 10.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.3658, allocations: 36.45 kB / 0.5252 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.3661, allocations: 340.6 kB / 0.5255 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.3663, allocations: 209.8 kB / 0.5257 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.3666, allocations: 150.7 kB / 0.5259 GB, free: 10.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.3668, allocations: 368.3 kB / 0.5262 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.3674, allocations: 377 kB / 0.5266 GB, free: 9.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007443/0.3681, allocations: 0.6032 MB / 0.5272 GB, free: 9.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.3697, allocations: 1.069 MB / 0.5282 GB, free: 8.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.3697, allocations: 3.844 kB / 0.5282 GB, free: 8.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004721/0.3744, allocations: 2 MB / 0.5302 GB, free: 7.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3744, allocations: 14 kB / 0.5302 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.3745, allocations: 7.156 kB / 0.5302 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002569/0.377, allocations: 0.9578 MB / 0.5311 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.3775, allocations: 119 kB / 0.5312 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.3898, allocations: 8.209 MB / 0.5393 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.3905, allocations: 36.41 kB / 0.5393 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/0.3906, allocations: 35.5 kB / 0.5393 GB, free: 2.062 MB / 398.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.0004049/0.391, allocations: 243.5 kB / 0.5396 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.3911, allocations: 51.05 kB / 0.5396 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.3924, allocations: 0.7316 MB / 0.5403 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3924, allocations: 5 kB / 0.5403 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.3924, allocations: 1.281 kB / 0.5403 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-06/0.3924, allocations: 3.984 kB / 0.5403 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.3951, allocations: 1.527 MB / 0.5418 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3951, allocations: 0 / 0.5418 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.3962, allocations: 187.9 kB / 0.542 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/0.3962, allocations: 4 kB / 0.542 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/0.3962, allocations: 27.98 kB / 0.542 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.3963, allocations: 4 kB / 0.542 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3963, allocations: 3.938 kB / 0.542 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.3978, allocations: 0.9974 MB / 0.543 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.398, allocations: 124.8 kB / 0.5431 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.3981, allocations: 27.98 kB / 0.5432 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.3984, allocations: 27.97 kB / 0.5432 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.3985, allocations: 36.45 kB / 0.5432 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.3986, allocations: 20.05 kB / 0.5432 GB, free: 14.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000334/0.3989, allocations: 287.1 kB / 0.5435 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3989, allocations: 0 / 0.5435 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009203/0.3999, allocations: 208 kB / 0.5437 GB, free: 14.5 MB / 414.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.001858/0.4017, allocations: 1.562 MB / 0.5452 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002761/0.4045, allocations: 1.48 MB / 0.5467 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.4045, allocations: 0 / 0.5467 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.405, allocations: 311.1 kB / 0.547 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.4057, allocations: 125.6 kB / 0.5471 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.4225, allocations: 9.752 MB / 0.5566 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007072/0.4233, allocations: 0.9882 MB / 0.5576 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005364/0.4238, allocations: 196.6 kB / 0.5578 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.4242, allocations: 239.3 kB / 0.558 GB, free: 15.46 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4242, allocations: 0 / 0.558 GB, free: 15.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04894/0.4731, allocations: 17.48 MB / 0.5751 GB, free: 14.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.09, allocations: 8.359 kB / 0.5751 GB, free: 14.1 MB / 446.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)