Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.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.001249/0.001249, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001444/0.001444, allocations: 166.7 kB / 24.99 MB, free: 8.789 MB / 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2701/0.2701, allocations: 29.41 MB / 291.2 MB, free: 2.527 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.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.09e-05, allocations: 2.312 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.00472/0.004751, allocations: 3.471 MB / 373.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.006295, allocations: 1.232 MB / 374.3 MB, free: 6.609 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.006451, allocations: 11.88 kB / 374.3 MB, free: 6.598 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.007026, allocations: 155.2 kB / 374.5 MB, free: 6.445 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.007377, allocations: 182.9 kB / 374.7 MB, free: 6.266 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.007615, allocations: 131.5 kB / 374.8 MB, free: 6.137 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.008066, allocations: 298.8 kB / 375.1 MB, free: 5.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.008323, allocations: 106.3 kB / 375.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.008577, allocations: 171.5 kB / 375.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.008747, allocations: 99.67 kB / 375.4 MB, free: 5.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.00877, allocations: 16 kB / 375.5 MB, free: 5.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.009011, allocations: 195.3 kB / 375.7 MB, free: 5.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.009085, allocations: 59.83 kB / 375.7 MB, free: 5.211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.087e-05/0.009156, allocations: 67.83 kB / 375.8 MB, free: 5.145 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.009492, allocations: 251.1 kB / 376 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.009496, allocations: 0 / 376 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.009497, allocations: 0 / 376 MB, free: 4.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.009503, allocations: 0 / 376 MB, free: 4.898 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005971/0.0101, allocations: 0.5232 MB / 376.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.01014, allocations: 11.98 kB / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005332/0.01067, allocations: 112.6 kB / 376.7 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.01095, allocations: 220.1 kB / 376.9 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.01097, allocations: 12.7 kB / 376.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.01101, allocations: 20.36 kB / 376.9 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.01129, allocations: 205.4 kB / 377.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.01131, allocations: 8.125 kB / 377.1 MB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.01133, allocations: 8.125 kB / 377.1 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.01136, allocations: 12.33 kB / 377.1 MB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.01155, allocations: 112.4 kB / 377.3 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.01295, allocations: 1.237 MB / 378.5 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.01313, allocations: 106.2 kB / 378.6 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.01318, allocations: 35.42 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.0132, allocations: 4 kB / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.01323, allocations: 33.39 kB / 378.7 MB, free: 2.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/0.01323, allocations: 0 / 378.7 MB, free: 2.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002848/0.01352, allocations: 124.5 kB / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.01358, allocations: 81.05 kB / 378.9 MB, free: 1.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.01373, allocations: 242.6 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.01375, allocations: 29.7 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.01385, allocations: 202.8 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.01388, allocations: 47.64 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.01394, allocations: 43.36 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.01408, allocations: 0.504 MB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.01412, allocations: 19.98 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.01421, allocations: 138.9 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.01437, allocations: 172.2 kB / 380.2 MB, free: 288 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.01437, allocations: 0 / 380.2 MB, free: 288 kB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000193/0.01456, allocations: 177.2 kB / 380.4 MB, free: 104 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.01458, allocations: 4 kB / 380.4 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01459, allocations: 4 kB / 380.4 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.01461, allocations: 4 kB / 380.4 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.01479, allocations: 51.91 kB / 380.5 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009194/0.01571, allocations: 1.821 MB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.01578, allocations: 19.83 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.0158, allocations: 8 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.0159, allocations: 168.5 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.01593, allocations: 19.91 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.0161, allocations: 115 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.0161, allocations: 4 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01611, allocations: 0 / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.01611, allocations: 4 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.01661, allocations: 436.5 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01662, allocations: 0 / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.01673, allocations: 31.92 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.01673, allocations: 4 kB / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.01674, allocations: 0 / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009074/0.01765, allocations: 1.817 MB / 384.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01765, allocations: 0 / 384.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.0179, allocations: 306.8 kB / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.01792, allocations: 11.91 kB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.01793, allocations: 4 kB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.194e-05/0.01798, allocations: 8 kB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.01801, allocations: 11.92 kB / 385.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.01802, allocations: 8.141 kB / 385.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.851e-05/0.0181, allocations: 169.1 kB / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0181, allocations: 0 / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.01836, allocations: 51.89 kB / 385.5 MB, free: 10.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.phi) * 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): 11 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004168/0.01878, allocations: 95.19 kB / 385.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.01901, allocations: 111.4 kB / 385.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01901, allocations: 4 kB / 385.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.01909, allocations: 55.59 kB / 385.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.01939, allocations: 27.08 kB / 385.8 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.02051, allocations: 483.9 kB / 386.2 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.167e-05/0.02058, allocations: 79.98 kB / 386.3 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.624e-05/0.02065, allocations: 29.45 kB / 386.3 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.02069, allocations: 20.5 kB / 386.4 MB, free: 9.758 MB / 362.7 MB Notification: Performance of SimCode: time 1.804e-06/0.02069, allocations: 0 / 386.4 MB, free: 9.758 MB / 362.7 MB Notification: Performance of Templates: time 0.003881/0.02457, allocations: 1.385 MB / 387.7 MB, free: 8.398 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.20855776197277]