Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.001081/0.001081, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001204/0.001204, allocations: 165 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.9913/0.9913, allocations: 177.1 MB / 205 MB, free: 5.613 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.2505/0.2505, allocations: 29.42 MB / 290.9 MB, free: 2.512 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.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.325e-05/4.579e-05, allocations: 2.312 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01032/0.01036, allocations: 8.301 MB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004675/0.01504, allocations: 3.221 MB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000551/0.01559, allocations: 51.62 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000788/0.01638, allocations: 353.4 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.0176, allocations: 0.8155 MB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.01831, allocations: 499 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.01983, allocations: 1.913 MB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009212/0.02075, allocations: 0.94 MB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009813/0.02174, allocations: 1.064 MB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007635/0.0225, allocations: 0.744 MB / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.02264, allocations: 140 kB / 387.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.02311, allocations: 411.3 kB / 388.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003046/0.02341, allocations: 0.5181 MB / 388.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.02376, allocations: 486.9 kB / 389.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.02487, allocations: 1.308 MB / 390.4 MB, free: 6.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.02487, allocations: 8 kB / 390.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02487, allocations: 0 / 390.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.02489, allocations: 0 / 390.4 MB, free: 6.152 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.0017/0.02659, allocations: 1.706 MB / 392.1 MB, free: 4.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.02663, allocations: 15.98 kB / 392.1 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005112/0.02714, allocations: 291.9 kB / 392.4 MB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009669/0.02811, allocations: 0.8925 MB / 393.3 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.02815, allocations: 74.44 kB / 393.4 MB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.02832, allocations: 136 kB / 393.5 MB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.02937, allocations: 0.9799 MB / 394.5 MB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.02939, allocations: 0 / 394.5 MB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.02945, allocations: 47.98 kB / 394.5 MB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.6e-05/0.02952, allocations: 65.97 kB / 394.6 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.03025, allocations: 463.5 kB / 395 MB, free: 1.312 MB / 362.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 8.318498358936397e-4 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.034, allocations: 4.712 MB / 399.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.03456, allocations: 437.3 kB / 400.2 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.03478, allocations: 184.5 kB / 400.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.03481, allocations: 16.5 kB / 400.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.03485, allocations: 41.89 kB / 400.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=64): time 1.683e-06/0.03485, allocations: 0 / 400.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.002651/0.0375, allocations: 1.867 MB / 402.3 MB, free: 9.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.03756, allocations: 162.9 kB / 402.4 MB, free: 9.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.03809, allocations: 0.6828 MB / 403.1 MB, free: 8.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.03812, allocations: 41.7 kB / 403.2 MB, free: 8.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.0384, allocations: 0.6276 MB / 403.8 MB, free: 8.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.03854, allocations: 261.8 kB / 404 MB, free: 7.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.03871, allocations: 172.2 kB / 404.2 MB, free: 7.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.03889, allocations: 0.5703 MB / 404.8 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.03911, allocations: 135.6 kB / 404.9 MB, free: 7.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.03948, allocations: 0.5488 MB / 405.5 MB, free: 6.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/0.04009, allocations: 0.6693 MB / 406.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.0401, allocations: 8 kB / 406.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001326/0.04143, allocations: 0.9565 MB / 407.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.04144, allocations: 11.94 kB / 407.1 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.04145, allocations: 8 kB / 407.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009881/0.04244, allocations: 463.5 kB / 407.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.04277, allocations: 171.7 kB / 407.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003713/0.04648, allocations: 3.835 MB / 411.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.04676, allocations: 39.98 kB / 411.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.0468, allocations: 43.92 kB / 411.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003125/0.04711, allocations: 268.8 kB / 411.9 MB, free: 15.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003874/0.0475, allocations: 0.5486 MB / 412.5 MB, free: 14.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005841/0.04808, allocations: 0.6693 MB / 413.1 MB, free: 14.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/0.04809, allocations: 4 kB / 413.1 MB, free: 14.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.001213/0.0493, allocations: 0.9253 MB / 414.1 MB, free: 13.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.04931, allocations: 11.28 kB / 414.1 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.04932, allocations: 12 kB / 414.1 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008631/0.05018, allocations: 443.5 kB / 414.5 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.05049, allocations: 163.8 kB / 414.7 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/0.05391, allocations: 3.779 MB / 418.5 MB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.05418, allocations: 35.98 kB / 418.5 MB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.05422, allocations: 36 kB / 418.5 MB, free: 8.504 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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 {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.05439, allocations: 327.8 kB / 418.8 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.05451, allocations: 123.3 kB / 419 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/0.05515, allocations: 0.5249 MB / 419.5 MB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.05515, allocations: 15.94 kB / 419.5 MB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.05516, allocations: 0 / 419.5 MB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.05516, allocations: 3.984 kB / 419.5 MB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.05661, allocations: 1.323 MB / 420.8 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.05662, allocations: 0 / 420.8 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.05703, allocations: 163.8 kB / 421 MB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.05704, allocations: 4 kB / 421 MB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.05707, allocations: 20.03 kB / 421 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.05707, allocations: 7.984 kB / 421 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.05707, allocations: 0 / 421 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.0579, allocations: 0.9302 MB / 422 MB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.05808, allocations: 151.2 kB / 422.1 MB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.05814, allocations: 16 kB / 422.1 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.05835, allocations: 23.98 kB / 422.1 MB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.0584, allocations: 52.5 kB / 422.2 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.05843, allocations: 20 kB / 422.2 MB, free: 4.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003158/0.05874, allocations: 422.9 kB / 422.6 MB, free: 4.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05874, allocations: 0 / 422.6 MB, free: 4.305 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009036/0.05965, allocations: 471.9 kB / 423.1 MB, free: 3.844 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * 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.0002308/0.05988, allocations: 139 kB / 423.2 MB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.06171, allocations: 1.586 MB / 424.8 MB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.06171, allocations: 0 / 424.8 MB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.06197, allocations: 224.6 kB / 425 MB, free: 1.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.06263, allocations: 217.7 kB / 425.2 MB, free: 1.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.06551, allocations: 2.155 MB / 427.4 MB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.06575, allocations: 300.5 kB / 427.7 MB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004224/0.06617, allocations: 214.7 kB / 427.9 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.06631, allocations: 68.48 kB / 428 MB, free: 14.84 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.06631, allocations: 0 / 428 MB, free: 14.84 MB / 410.7 MB Notification: Performance of Templates: time 0.1432/0.2095, allocations: 16.32 MB / 444.3 MB, free: 95.71 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.728676591999829]