Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.00146/0.00146, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.00161/0.00161, allocations: 161.6 kB / 24.26 MB, free: 176 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.479/1.479, 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.3033/0.3033, allocations: 29.42 MB / 290.5 MB, free: 2.414 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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.289e-05, allocations: 2.312 kB / 368.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.009549/0.009582, allocations: 4.03 MB / 372.9 MB, free: 7.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.01248, allocations: 0.8257 MB / 373.7 MB, free: 6.395 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.01271, allocations: 11.88 kB / 373.8 MB, free: 6.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.01299, allocations: 47.52 kB / 373.8 MB, free: 6.336 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007748/0.01376, allocations: 178.9 kB / 374 MB, free: 6.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.01417, allocations: 83.81 kB / 374.1 MB, free: 6.078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008729/0.01504, allocations: 406.4 kB / 374.5 MB, free: 5.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.01531, allocations: 70.7 kB / 374.5 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007511/0.01606, allocations: 251.2 kB / 374.8 MB, free: 5.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005509/0.01661, allocations: 167.5 kB / 374.9 MB, free: 5.207 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.014e-05/0.01669, allocations: 20 kB / 375 MB, free: 5.188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.953e-05/0.01677, allocations: 20 kB / 375 MB, free: 5.168 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.01697, allocations: 87.72 kB / 375.1 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.01722, allocations: 99.75 kB / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.01794, allocations: 279 kB / 375.4 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.01794, allocations: 0 / 375.4 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01795, allocations: 0 / 375.4 MB, free: 4.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.01796, allocations: 0 / 375.4 MB, free: 4.711 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.001935/0.01989, allocations: 0.5333 MB / 376 MB, free: 4.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.01995, allocations: 11.98 kB / 376 MB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.02014, allocations: 52.7 kB / 376 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.02118, allocations: 289.1 kB / 376.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.02122, allocations: 16.88 kB / 376.3 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/0.02149, allocations: 36.67 kB / 376.4 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.02262, allocations: 299 kB / 376.7 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.02263, allocations: 0 / 376.7 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.02268, allocations: 8 kB / 376.7 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.02269, allocations: 4 kB / 376.7 MB, free: 3.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.02331, allocations: 191.8 kB / 376.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.02645, allocations: 1.153 MB / 378 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.027, allocations: 123.7 kB / 378.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.02716, allocations: 50.62 kB / 378.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.02719, allocations: 0 / 378.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.301e-05/0.02726, allocations: 38.55 kB / 378.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/0.02726, allocations: 0 / 378.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001846/0.02911, allocations: 479.8 kB / 378.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.02923, allocations: 110.8 kB / 378.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/0.02974, allocations: 245.8 kB / 379 MB, free: 0.832 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.02978, allocations: 25.7 kB / 379.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.03005, allocations: 192.1 kB / 379.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.312e-05/0.03013, allocations: 47.64 kB / 379.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.03028, allocations: 37.7 kB / 379.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003114/0.03059, allocations: 338.8 kB / 379.7 MB, free: 184 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.03076, allocations: 39.97 kB / 379.7 MB, free: 144 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.03109, allocations: 134.2 kB / 379.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.03164, allocations: 187.8 kB / 380 MB, free: 15.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.03164, allocations: 4 kB / 380 MB, free: 15.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009206/0.03256, allocations: 241.5 kB / 380.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.0326, allocations: 11.98 kB / 380.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.03261, allocations: 0 / 380.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.03286, allocations: 29.25 kB / 380.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.03353, allocations: 67.89 kB / 380.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.03355, allocations: 4 kB / 380.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.03382, allocations: 11.94 kB / 380.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.03385, allocations: 8 kB / 380.4 MB, free: 15.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003352/0.03418, allocations: 153.7 kB / 380.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.03432, allocations: 23.86 kB / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/0.03481, allocations: 151.3 kB / 380.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.03482, allocations: 4 kB / 380.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.03483, allocations: 4 kB / 380.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.03484, allocations: 0 / 380.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.03551, allocations: 217.1 kB / 380.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.03551, allocations: 0 / 380.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.03586, allocations: 27.98 kB / 380.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.03586, allocations: 0 / 380.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.0359, allocations: 4 kB / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.0359, allocations: 0 / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.03591, allocations: 3.938 kB / 381 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000836/0.03674, allocations: 367.4 kB / 381.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.03683, allocations: 31.89 kB / 381.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.0369, allocations: 4 kB / 381.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.03718, allocations: 4 kB / 381.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.03723, allocations: 7.984 kB / 381.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.03725, allocations: 8 kB / 381.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003348/0.03759, allocations: 173.2 kB / 381.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.03759, allocations: 0 / 381.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007293/0.03832, allocations: 44 kB / 381.6 MB, free: 14.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0002081/0.03853, allocations: 99.12 kB / 381.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006251/0.03915, allocations: 133.2 kB / 381.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.03916, allocations: 0 / 381.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.03934, allocations: 51.86 kB / 381.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.04036, allocations: 56.69 kB / 381.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.04221, allocations: 0.5451 MB / 382.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.04252, allocations: 158.8 kB / 382.6 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.04274, allocations: 30.27 kB / 382.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.04285, allocations: 24.5 kB / 382.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.04285, allocations: 0 / 382.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of Templates: time 0.0122/0.05505, allocations: 2.273 MB / 384.9 MB, free: 10.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.783152827061713]