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.001223/0.001223, allocations: 112.5 kB / 17.69 MB, free: 5.438 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.001697/0.001697, allocations: 191 kB / 18.63 MB, free: 4.508 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.702/1.702, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1889/0.1889, allocations: 37.98 MB / 309.8 MB, free: 5.98 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.001582/0.001582, allocations: 67.91 kB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3061, allocations: 55.25 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.00506/0.3112, allocations: 4.068 MB / 436.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3127, allocations: 0.9515 MB / 437 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.313, allocations: 11.94 kB / 437.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.3132, allocations: 47.56 kB / 437.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006472/0.3139, allocations: 186.9 kB / 437.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.3141, allocations: 91.81 kB / 437.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.3146, allocations: 398.5 kB / 437.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.3148, allocations: 118.2 kB / 437.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.3151, allocations: 175.3 kB / 438.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.3154, allocations: 191.2 kB / 438.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.3154, allocations: 16 kB / 438.3 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.04e-05/0.3155, allocations: 20 kB / 438.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.3156, allocations: 91.72 kB / 438.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.3157, allocations: 143.3 kB / 438.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.316, allocations: 282.9 kB / 438.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3161, allocations: 0 / 438.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3161, allocations: 4 kB / 438.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3161, allocations: 0 / 438.8 MB, free: 12.73 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.0009503/0.317, allocations: 0.5932 MB / 439.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3171, allocations: 11.89 kB / 439.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.3172, allocations: 32.56 kB / 439.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.3176, allocations: 350.8 kB / 439.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3176, allocations: 20.56 kB / 439.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.3177, allocations: 24 kB / 439.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.3181, allocations: 290.8 kB / 440.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3181, allocations: 0 / 440.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.3182, allocations: 12 kB / 440.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.3182, allocations: 11.98 kB / 440.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.3184, allocations: 180.8 kB / 440.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3195, allocations: 1.232 MB / 441.5 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.3198, allocations: 105.2 kB / 441.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.3199, allocations: 49.7 kB / 441.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3199, allocations: 0 / 441.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.32, allocations: 30.56 kB / 441.7 MB, free: 9.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.32, allocations: 4 kB / 441.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007453/0.3207, allocations: 484.6 kB / 442.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.3208, allocations: 85.05 kB / 442.3 MB, free: 8.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.3209, allocations: 246.6 kB / 442.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.321, allocations: 25.7 kB / 442.5 MB, free: 8.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.3211, allocations: 203.5 kB / 442.7 MB, free: 8.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.3211, allocations: 39.45 kB / 442.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.3211, allocations: 41.7 kB / 442.8 MB, free: 8.363 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.3212, allocations: 342.8 kB / 443.1 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.814e-05/0.3213, allocations: 31.98 kB / 443.2 MB, free: 7.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.055e-05/0.3214, allocations: 132.7 kB / 443.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3215, allocations: 193.4 kB / 443.5 MB, free: 7.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3216, allocations: 7.938 kB / 443.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002486/0.3218, allocations: 205 kB / 443.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3218, allocations: 8 kB / 443.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3218, allocations: 4 kB / 443.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3219, allocations: 4.438 kB / 443.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.322, allocations: 47.92 kB / 443.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.322, allocations: 11.92 kB / 443.8 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3222, allocations: 15.94 kB / 443.8 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.3222, allocations: 8 kB / 443.8 MB, free: 7.266 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.0001046/0.3223, allocations: 153.7 kB / 444 MB, free: 7.105 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.3223, allocations: 19.72 kB / 444 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.3225, allocations: 138.7 kB / 444.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3226, allocations: 0 / 444.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3226, allocations: 4 kB / 444.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3226, allocations: 7.938 kB / 444.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.323, allocations: 475.2 kB / 444.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.323, allocations: 4 kB / 444.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.3231, allocations: 23.98 kB / 444.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.3232, allocations: 4 kB / 444.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3232, allocations: 3.938 kB / 444.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3232, allocations: 3.938 kB / 444.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3232, allocations: 4 kB / 444.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3235, allocations: 277 kB / 444.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.3235, allocations: 96.84 kB / 445 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.3236, allocations: 7.938 kB / 445 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.3237, allocations: 4 kB / 445 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.3237, allocations: 7.984 kB / 445 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3237, allocations: 8.062 kB / 445 MB, free: 5.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.3238, allocations: 173.9 kB / 445.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3238, allocations: 0 / 445.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.3241, allocations: 48 kB / 445.2 MB, free: 5.719 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.0001068/0.3243, allocations: 99.23 kB / 445.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.3245, allocations: 118.7 kB / 445.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3245, allocations: 288 / 445.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.3246, allocations: 43.92 kB / 445.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.3251, allocations: 68.34 kB / 445.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3262, allocations: 0.5289 MB / 446.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.3267, allocations: 0.7792 MB / 446.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.3268, allocations: 34.27 kB / 446.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.3269, allocations: 19.44 kB / 446.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3269, allocations: 0 / 446.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of Templates: time 0.0053/0.3322, allocations: 1.993 MB / 448.9 MB, free: 1.988 MB / 318.1 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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)