Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001005/0.001005, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001028/0.001028, allocations: 161 kB / 24.56 MB, free: 12 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 0.9471/0.9471, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.2391/0.2391, allocations: 29.42 MB / 290.9 MB, free: 2.488 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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.751e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.003814/0.003831, allocations: 4.056 MB / 373.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.005104, allocations: 0.9432 MB / 374.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.005306, allocations: 19.81 kB / 374.7 MB, free: 5.938 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.00549, allocations: 55.48 kB / 374.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.005981, allocations: 210.7 kB / 374.9 MB, free: 5.676 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.006185, allocations: 99.78 kB / 375 MB, free: 5.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004393/0.006624, allocations: 498.1 kB / 375.5 MB, free: 5.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.006804, allocations: 84 kB / 375.6 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.007153, allocations: 291.2 kB / 375.9 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.00744, allocations: 235.4 kB / 376.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.007481, allocations: 32 kB / 376.1 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-05/0.007555, allocations: 32 kB / 376.2 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.007657, allocations: 127.6 kB / 376.3 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.007765, allocations: 123.7 kB / 376.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.008088, allocations: 290.9 kB / 376.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.008091, allocations: 0 / 376.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008091, allocations: 0 / 376.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.008097, allocations: 0 / 376.7 MB, free: 3.902 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008218/0.008918, allocations: 0.7307 MB / 377.4 MB, free: 3.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.008951, allocations: 15.92 kB / 377.4 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.009082, allocations: 68.69 kB / 377.5 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.009458, allocations: 346.5 kB / 377.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.009475, allocations: 24.78 kB / 377.9 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.009517, allocations: 24 kB / 377.9 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.009799, allocations: 276.5 kB / 378.2 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.009809, allocations: 7.938 kB / 378.2 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.009828, allocations: 12 kB / 378.2 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.009838, allocations: 8 kB / 378.2 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.01001, allocations: 106.9 kB / 378.3 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.01116, allocations: 1.571 MB / 379.9 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.01131, allocations: 118.1 kB / 380 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.01137, allocations: 42.8 kB / 380 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.01139, allocations: 11.88 kB / 380 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.01141, allocations: 41.39 kB / 380.1 MB, free: 292 kB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.01142, allocations: 0 / 380.1 MB, free: 292 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006787/0.01209, allocations: 452.6 kB / 380.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.01213, allocations: 93.17 kB / 380.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.01233, allocations: 342.1 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.01235, allocations: 25.7 kB / 381 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.01247, allocations: 270.8 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.01251, allocations: 55.53 kB / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.01256, allocations: 55.36 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.01269, allocations: 0.5118 MB / 381.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.01274, allocations: 27.97 kB / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.01285, allocations: 175.2 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.01302, allocations: 223.1 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01302, allocations: 4 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002354/0.01326, allocations: 215.9 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.01328, allocations: 10.5 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01328, allocations: 4 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.0133, allocations: 4.438 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.01346, allocations: 71.83 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.01346, allocations: 4 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.122e-05/0.01354, allocations: 12 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.01356, allocations: 11.98 kB / 382.6 MB, free: 13.53 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 (29): * Single equations (assignments): 29 * 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 8.549e-05/0.01364, allocations: 172.5 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.01368, allocations: 35.75 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.01388, allocations: 166.5 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01389, allocations: 0 / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01389, allocations: 7.938 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.0139, allocations: 7.984 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.01432, allocations: 0.5008 MB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01432, allocations: 4 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.01442, allocations: 31.98 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01443, allocations: 7.984 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.01444, allocations: 7.938 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.01445, allocations: 7.938 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01445, allocations: 0 / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.01472, allocations: 347 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.01475, allocations: 39.73 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.01477, allocations: 8 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.01484, allocations: 8 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.01487, allocations: 11.97 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.01488, allocations: 8 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.01499, allocations: 230.9 kB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01499, allocations: 0 / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000207/0.0152, allocations: 56 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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 6.885e-05/0.01527, allocations: 95.25 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.01544, allocations: 123.4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01545, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.01551, allocations: 67.5 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.01584, allocations: 69.69 kB / 384.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009843/0.01682, allocations: 0.6033 MB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.733e-05/0.01689, allocations: 112.5 kB / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.116e-05/0.01698, allocations: 42.94 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.01704, allocations: 28.48 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01704, allocations: 0 / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of Templates: time 0.004496/0.02153, allocations: 3.1 MB / 388.5 MB, free: 7.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.991053312085569]