Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009957/0.0009958, allocations: 179.7 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.257/1.257, allocations: 194.5 MB / 211.6 MB, free: 3.062 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001641/0.001641, allocations: 116.9 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1555/0.1555, allocations: 37.99 MB / 340.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 12 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.09291, allocations: 53.23 MB / 457 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3059/0.3988, allocations: 89.81 MB / 0.534 GB, free: 5.367 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.3991, allocations: 89.81 kB / 0.5341 GB, free: 5.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0158/0.4149, allocations: 6.608 MB / 0.5405 GB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4149, allocations: 0 / 0.5405 GB, free: 15.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.415, allocations: 8 kB / 0.5405 GB, free: 15.64 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008791/0.4158, allocations: 0.5833 MB / 0.5411 GB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4159, allocations: 8.031 kB / 0.5411 GB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.416, allocations: 31.62 kB / 0.5412 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.4177, allocations: 0.774 MB / 0.5419 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.4178, allocations: 15 kB / 0.5419 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.4178, allocations: 22.62 kB / 0.5419 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.4183, allocations: 290 kB / 0.5422 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4183, allocations: 4.344 kB / 0.5422 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.4183, allocations: 10.77 kB / 0.5422 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.4183, allocations: 8 kB / 0.5422 GB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.4186, allocations: 178 kB / 0.5424 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.4199, allocations: 1.226 MB / 0.5436 GB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.4202, allocations: 111.9 kB / 0.5437 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.4203, allocations: 0 / 0.5437 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.4203, allocations: 30.56 kB / 0.5437 GB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.4203, allocations: 3.938 kB / 0.5438 GB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008305/0.4211, allocations: 495.1 kB / 0.5442 GB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.4212, allocations: 81.11 kB / 0.5443 GB, free: 11.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.4214, allocations: 219 kB / 0.5445 GB, free: 11.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.4214, allocations: 25.7 kB / 0.5445 GB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.4216, allocations: 201.6 kB / 0.5447 GB, free: 11.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.4216, allocations: 42.89 kB / 0.5448 GB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.4216, allocations: 3.375 kB / 0.5448 GB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4218, allocations: 333.6 kB / 0.5451 GB, free: 11.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.4218, allocations: 38.52 kB / 0.5451 GB, free: 11.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.422, allocations: 134.5 kB / 0.5453 GB, free: 11.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.4221, allocations: 53.5 kB / 0.5453 GB, free: 11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4221, allocations: 4 kB / 0.5453 GB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002792/0.4224, allocations: 199.6 kB / 0.5455 GB, free: 10.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4224, allocations: 4 kB / 0.5455 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4224, allocations: 4 kB / 0.5455 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4224, allocations: 4.438 kB / 0.5455 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.4226, allocations: 51.91 kB / 0.5456 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.4226, allocations: 7.953 kB / 0.5456 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.4228, allocations: 11.28 kB / 0.5456 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.4228, allocations: 15.94 kB / 0.5456 GB, free: 10.74 MB / 362.7 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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.4229, allocations: 146.8 kB / 0.5457 GB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.423, allocations: 27.28 kB / 0.5458 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.4232, allocations: 132.6 kB / 0.5459 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4232, allocations: 11.98 kB / 0.5459 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4232, allocations: 0 / 0.5459 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4233, allocations: 3.953 kB / 0.5459 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.4238, allocations: 476.4 kB / 0.5464 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4238, allocations: 0 / 0.5464 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.4239, allocations: 16 kB / 0.5464 GB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4239, allocations: 4 kB / 0.5464 GB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4239, allocations: 7.312 kB / 0.5464 GB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4239, allocations: 11.94 kB / 0.5464 GB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.424, allocations: 11.97 kB / 0.5464 GB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.4243, allocations: 294.7 kB / 0.5467 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.4243, allocations: 96.81 kB / 0.5468 GB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.4244, allocations: 7.844 kB / 0.5468 GB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4245, allocations: 8 kB / 0.5468 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.4245, allocations: 10.11 kB / 0.5468 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.4245, allocations: 4 kB / 0.5468 GB, free: 9.539 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.4247, allocations: 175.3 kB / 0.547 GB, free: 9.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4247, allocations: 0 / 0.547 GB, free: 9.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003069/0.425, allocations: 43.19 kB / 0.547 GB, free: 9.355 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001211/0.4251, allocations: 113.9 kB / 0.5471 GB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.4253, allocations: 112.3 kB / 0.5472 GB, free: 9.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4253, allocations: 0 / 0.5472 GB, free: 9.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.4254, allocations: 47.23 kB / 0.5473 GB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.4258, allocations: 58.3 kB / 0.5473 GB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.4267, allocations: 0.6673 MB / 0.548 GB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.427, allocations: 0.7821 MB / 0.5487 GB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.4271, allocations: 38.27 kB / 0.5488 GB, free: 7.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.4272, allocations: 19.44 kB / 0.5488 GB, free: 7.539 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4272, allocations: 0 / 0.5488 GB, free: 7.539 MB / 362.7 MB Notification: Performance of Templates: time 0.004666/0.4318, allocations: 1.846 MB / 0.5506 GB, free: 5.707 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)