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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007608/0.0007608, allocations: 89.83 kB / 16.65 MB, free: 6.59 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.0007979/0.0007979, allocations: 182.8 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1835/0.1835, allocations: 38.05 MB / 310.1 MB, free: 5.922 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005767/0.0005772, allocations: 19.12 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3343, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005716/0.3401, allocations: 4.331 MB / 437.8 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.3422, allocations: 1.123 MB / 438.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006921/0.3429, allocations: 27.81 kB / 439 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.3433, allocations: 43.69 kB / 439 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008913/0.3442, allocations: 163.1 kB / 439.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.3446, allocations: 71.92 kB / 439.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00066/0.3452, allocations: 0.5179 MB / 439.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.3455, allocations: 105.7 kB / 439.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.3459, allocations: 159.2 kB / 440 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000479/0.3464, allocations: 175.3 kB / 440.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.3465, allocations: 12 kB / 440.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.3466, allocations: 12 kB / 440.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.3467, allocations: 75.73 kB / 440.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.3469, allocations: 153 kB / 440.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.3472, allocations: 270.8 kB / 440.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3472, allocations: 15.94 kB / 440.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3472, allocations: 0 / 440.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.3473, allocations: 0 / 440.7 MB, free: 11.42 MB / 318.1 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.001057/0.3483, allocations: 0.531 MB / 441.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3484, allocations: 12.03 kB / 441.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.004e-05/0.3485, allocations: 36.56 kB / 441.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.3489, allocations: 322.9 kB / 441.6 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.349, allocations: 20.56 kB / 441.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.349, allocations: 20 kB / 441.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.3495, allocations: 294.8 kB / 441.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3495, allocations: 0 / 441.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.3495, allocations: 12 kB / 442 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3496, allocations: 4 kB / 442 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.3498, allocations: 180.9 kB / 442.1 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3512, allocations: 1.236 MB / 443.4 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.3515, allocations: 101.2 kB / 443.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.3516, allocations: 49.7 kB / 443.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3517, allocations: 0 / 443.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3517, allocations: 38.55 kB / 443.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.3517, allocations: 4 kB / 443.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009406/0.3526, allocations: 488.9 kB / 444 MB, free: 7.809 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.3527, allocations: 85.05 kB / 444.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.353, allocations: 242.7 kB / 444.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.353, allocations: 25.7 kB / 444.4 MB, free: 7.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3531, allocations: 199.6 kB / 444.6 MB, free: 7.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.3532, allocations: 43.44 kB / 444.6 MB, free: 7.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.3532, allocations: 25.83 kB / 444.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3534, allocations: 342.8 kB / 445 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.3534, allocations: 31.98 kB / 445 MB, free: 6.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3536, allocations: 132.7 kB / 445.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.3538, allocations: 192.6 kB / 445.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3538, allocations: 4 kB / 445.3 MB, free: 6.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003079/0.3541, allocations: 205 kB / 445.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.3541, allocations: 8 kB / 445.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3541, allocations: 4 kB / 445.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.3542, allocations: 4.438 kB / 445.6 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.3543, allocations: 43.92 kB / 445.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.3544, allocations: 11.94 kB / 445.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.3545, allocations: 11.94 kB / 445.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.3545, allocations: 11.98 kB / 445.6 MB, free: 6.062 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.3547, allocations: 157.6 kB / 445.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.3548, allocations: 24 kB / 445.8 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.355, allocations: 135.3 kB / 445.9 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.355, allocations: 4 kB / 445.9 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.355, allocations: 3.938 kB / 445.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.3551, allocations: 7.938 kB / 446 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.3556, allocations: 471.2 kB / 446.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3556, allocations: 0 / 446.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.3557, allocations: 31.92 kB / 446.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3557, allocations: 0 / 446.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3557, allocations: 11.94 kB / 446.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3557, allocations: 0 / 446.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3557, allocations: 8.016 kB / 446.5 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.3561, allocations: 280.5 kB / 446.7 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.3561, allocations: 96.81 kB / 446.8 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.3562, allocations: 7.938 kB / 446.8 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.3563, allocations: 4 kB / 446.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.3563, allocations: 15.98 kB / 446.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3563, allocations: 4 kB / 446.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.3564, allocations: 170 kB / 447 MB, free: 4.551 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3564, allocations: 0 / 447 MB, free: 4.551 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.3568, allocations: 48 kB / 447.1 MB, free: 4.504 MB / 318.1 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 (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.0001072/0.3569, allocations: 91.25 kB / 447.2 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3571, allocations: 116.3 kB / 447.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3571, allocations: 4 kB / 447.3 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.689e-05/0.3572, allocations: 43.91 kB / 447.3 MB, free: 4.246 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.3577, allocations: 60.97 kB / 447.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008728/0.3586, allocations: 0.6881 MB / 448.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.3588, allocations: 0.7755 MB / 448.8 MB, free: 2.664 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.3589, allocations: 34.27 kB / 448.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.359, allocations: 19.44 kB / 448.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of SimCode: time 8.31e-07/0.359, allocations: 0 / 448.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of Templates: time 0.005247/0.3643, allocations: 1.896 MB / 450.8 MB, free: 0.7266 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: