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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 84.34 kB / 20.96 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3268/0.3268, allocations: 29.41 MB / 290.5 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.904e-05, allocations: 6.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.007203/0.007232, allocations: 4 MB / 372.9 MB, free: 7.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.009266, allocations: 0.8805 MB / 373.8 MB, free: 6.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.009567, allocations: 15.88 kB / 373.8 MB, free: 6.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.009842, allocations: 51.5 kB / 373.8 MB, free: 6.336 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007343/0.01058, allocations: 186.8 kB / 374 MB, free: 6.152 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.01087, allocations: 99.73 kB / 374.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007379/0.0116, allocations: 406.3 kB / 374.5 MB, free: 5.656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.01185, allocations: 78.62 kB / 374.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005959/0.01244, allocations: 251.2 kB / 374.8 MB, free: 5.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004044/0.01285, allocations: 163.5 kB / 375 MB, free: 5.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/0.0129, allocations: 16 kB / 375 MB, free: 5.164 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.01296, allocations: 24 kB / 375 MB, free: 5.141 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.01311, allocations: 95.7 kB / 375.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.01327, allocations: 91.77 kB / 375.2 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.01374, allocations: 287 kB / 375.5 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.01374, allocations: 4 kB / 375.5 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01375, allocations: 0 / 375.5 MB, free: 4.672 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.01376, allocations: 0 / 375.5 MB, free: 4.672 MB / 346.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.001321/0.01508, allocations: 0.5294 MB / 376 MB, free: 4.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.01513, allocations: 11.98 kB / 376 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.01527, allocations: 52.7 kB / 376.1 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006203/0.01589, allocations: 295.7 kB / 376.4 MB, free: 3.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.01592, allocations: 16.88 kB / 376.4 MB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.01597, allocations: 24.38 kB / 376.4 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.01651, allocations: 291.7 kB / 376.7 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.01653, allocations: 0 / 376.7 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.01656, allocations: 12 kB / 376.7 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.01657, allocations: 4 kB / 376.7 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.01692, allocations: 180.9 kB / 376.9 MB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.0186, allocations: 1.108 MB / 378 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.01897, allocations: 121.1 kB / 378.1 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.01905, allocations: 37.77 kB / 378.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.01908, allocations: 4 kB / 378.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.01911, allocations: 34.56 kB / 378.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.01911, allocations: 0 / 378.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009586/0.02007, allocations: 424.6 kB / 378.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.02014, allocations: 81.11 kB / 378.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.02044, allocations: 253.8 kB / 378.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.02046, allocations: 29.7 kB / 379 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.02064, allocations: 200.1 kB / 379.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.02068, allocations: 31.7 kB / 379.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.224e-05/0.02076, allocations: 49.66 kB / 379.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.02095, allocations: 330.8 kB / 379.6 MB, free: 328 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.463e-05/0.02104, allocations: 40.11 kB / 379.6 MB, free: 288 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.02121, allocations: 139 kB / 379.7 MB, free: 104 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.02153, allocations: 196.7 kB / 379.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.02153, allocations: 0 / 379.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003797/0.02191, allocations: 217.5 kB / 380.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.02193, allocations: 8 kB / 380.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.02194, allocations: 4 kB / 380.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.02197, allocations: 4 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.02216, allocations: 43.92 kB / 380.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.02217, allocations: 7.984 kB / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.0223, allocations: 8 kB / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.02231, allocations: 8 kB / 380.2 MB, free: 15.56 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.0225, allocations: 153.7 kB / 380.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.02256, allocations: 27.86 kB / 380.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.02284, allocations: 142.5 kB / 380.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.02284, allocations: 0 / 380.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.02285, allocations: 0 / 380.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.02285, allocations: 7.984 kB / 380.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/0.02346, allocations: 410.7 kB / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02346, allocations: 0 / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.0236, allocations: 23.98 kB / 381 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.0236, allocations: 0 / 381 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.02362, allocations: 4 kB / 381 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.02362, allocations: 0 / 381 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.02362, allocations: 4.031 kB / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.02412, allocations: 292.8 kB / 381.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.02416, allocations: 19.89 kB / 381.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.02419, allocations: 8 kB / 381.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.02431, allocations: 0 / 381.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.02434, allocations: 11.92 kB / 381.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.02435, allocations: 4 kB / 381.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.02454, allocations: 181.1 kB / 381.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02454, allocations: 0 / 381.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.02489, allocations: 44 kB / 381.5 MB, free: 14.19 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 (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.0001399/0.02503, allocations: 103.2 kB / 381.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.02529, allocations: 103.8 kB / 381.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0253, allocations: 0 / 381.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.865e-05/0.02538, allocations: 43.92 kB / 381.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.02592, allocations: 62.78 kB / 381.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.027, allocations: 0.5029 MB / 382.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.02719, allocations: 162.8 kB / 382.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000137/0.02732, allocations: 34.27 kB / 382.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.02739, allocations: 24.5 kB / 382.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.123e-06/0.02739, allocations: 0 / 382.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Templates: time 0.006256/0.03364, allocations: 2.052 MB / 384.6 MB, free: 11.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.593892566044815]