Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001851/0.001851, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002032/0.002032, allocations: 161.3 kB / 24.27 MB, free: 156 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.576/1.576, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.3057/0.3057, allocations: 29.42 MB / 290.5 MB, free: 2.406 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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.62e-05, allocations: 9.484 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.01095/0.01098, allocations: 4.643 MB / 373.5 MB, free: 6.629 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003917/0.0149, allocations: 1.305 MB / 374.8 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.01517, allocations: 19.81 kB / 374.9 MB, free: 5.301 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.01693, allocations: 402.2 kB / 375.2 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009231/0.01785, allocations: 266.5 kB / 375.5 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.01862, allocations: 171.5 kB / 375.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.01971, allocations: 0.5722 MB / 376.2 MB, free: 3.902 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006083/0.02032, allocations: 225.5 kB / 376.5 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008623/0.02118, allocations: 350.9 kB / 376.8 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007579/0.02194, allocations: 279.2 kB / 377.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.02204, allocations: 28 kB / 377.1 MB, free: 3.039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004563/0.0225, allocations: 131.7 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.02288, allocations: 207.5 kB / 377.4 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.02322, allocations: 151.7 kB / 377.6 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.02433, allocations: 0.5179 MB / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.02434, allocations: 0 / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.02434, allocations: 0 / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.02435, allocations: 0 / 378.1 MB, free: 2.039 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001928/0.02628, allocations: 0.7658 MB / 378.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.02633, allocations: 15.98 kB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.02738, allocations: 120.6 kB / 379 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.02857, allocations: 366.8 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.02863, allocations: 25.38 kB / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.02886, allocations: 44.64 kB / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.02992, allocations: 370 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.02995, allocations: 3.938 kB / 379.8 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/0.03001, allocations: 23.98 kB / 379.8 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.03019, allocations: 24.98 kB / 379.8 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.03089, allocations: 183.8 kB / 380 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00393/0.03482, allocations: 1.652 MB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.03524, allocations: 114.1 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.03544, allocations: 63.42 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.03548, allocations: 8 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.03553, allocations: 33.39 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.254e-06/0.03553, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002218/0.03775, allocations: 0.5882 MB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/0.03784, allocations: 81.11 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006535/0.0385, allocations: 382.2 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.03854, allocations: 29.7 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.03894, allocations: 322.7 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.03906, allocations: 67.44 kB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.03926, allocations: 75.64 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004688/0.03972, allocations: 0.5235 MB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.03991, allocations: 44.25 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.04033, allocations: 203.8 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.04095, allocations: 286.2 kB / 384.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.04095, allocations: 3.938 kB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001398/0.04235, allocations: 352.8 kB / 384.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.04238, allocations: 11.94 kB / 384.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000874/0.04325, allocations: 183.7 kB / 385 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009886/0.04424, allocations: 131.6 kB / 385.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.0446, allocations: 51.91 kB / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004671/0.04927, allocations: 2.422 MB / 387.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.0496, allocations: 8 kB / 387.6 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.04963, allocations: 12 kB / 387.6 MB, free: 7.934 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003221/0.04996, allocations: 192.4 kB / 387.8 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.05006, allocations: 31.86 kB / 387.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/0.05071, allocations: 186.2 kB / 388 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.05072, allocations: 0 / 388 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.05072, allocations: 4 kB / 388 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.05073, allocations: 0 / 388 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.05263, allocations: 0.6484 MB / 388.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.05263, allocations: 0 / 388.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.05303, allocations: 48.03 kB / 388.7 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.05317, allocations: 19.67 kB / 388.7 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.0532, allocations: 11.94 kB / 388.8 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.05321, allocations: 3.938 kB / 388.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.05321, allocations: 160 / 388.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.05411, allocations: 394.3 kB / 389.1 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.05421, allocations: 31.73 kB / 389.2 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.05427, allocations: 4 kB / 389.2 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.05455, allocations: 16.05 kB / 389.2 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.05461, allocations: 7.984 kB / 389.2 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.05464, allocations: 12 kB / 389.2 MB, free: 6.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004089/0.05505, allocations: 247 kB / 389.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.05505, allocations: 0 / 389.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008278/0.05587, allocations: 88 kB / 389.5 MB, free: 5.906 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.000188/0.05606, allocations: 103.2 kB / 389.6 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.0572, allocations: 406 kB / 390 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.0572, allocations: 0 / 390 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.0575, allocations: 91.14 kB / 390.1 MB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/0.0583, allocations: 71.33 kB / 390.2 MB, free: 5.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.06038, allocations: 0.7548 MB / 391 MB, free: 4.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.06081, allocations: 225.1 kB / 391.2 MB, free: 4.188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002759/0.06109, allocations: 54.92 kB / 391.2 MB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.06119, allocations: 28.5 kB / 391.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0612, allocations: 0 / 391.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of Templates: time 0.01466/0.07585, allocations: 3.744 MB / 395 MB, free: 432 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.913306106929667]