Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.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.001028/0.001028, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001146/0.001146, allocations: 170.3 kB / 24.91 MB, free: 8.723 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 0.9812/0.9812, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2551/0.2551, allocations: 29.42 MB / 291.2 MB, free: 2.352 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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.Islanding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="ACpower.p.[0-9,]+.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="ACpower.p.[0-9,]+.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 316.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.92e-05, allocations: 3.297 kB / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.008325/0.008344, allocations: 9.033 MB / 325.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008403/0.01675, allocations: 6.023 MB / 332 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007047/0.01745, allocations: 59.56 kB / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0143/0.03176, allocations: 13.69 MB / 345.7 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.03379, allocations: 0.8117 MB / 346.5 MB, free: 2.215 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.03512, allocations: 0.6666 MB / 347.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00296/0.03808, allocations: 3.66 MB / 350.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009894/0.03907, allocations: 1.046 MB / 351.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.04018, allocations: 1.286 MB / 353.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009407/0.04112, allocations: 0.8685 MB / 354.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.04129, allocations: 152 kB / 354.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006175/0.0419, allocations: 483.2 kB / 354.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004372/0.04234, allocations: 0.6467 MB / 355.3 MB, free: 9.371 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.04278, allocations: 0.5417 MB / 355.9 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.04437, allocations: 1.491 MB / 357.4 MB, free: 7.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.04438, allocations: 8 kB / 357.4 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.04438, allocations: 0 / 357.4 MB, free: 7.324 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.03e-05/0.04441, allocations: 0 / 357.4 MB, free: 7.324 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.002142/0.04655, allocations: 1.752 MB / 359.1 MB, free: 5.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.04659, allocations: 11.98 kB / 359.1 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005576/0.04714, allocations: 264.7 kB / 359.4 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.04824, allocations: 0.8902 MB / 360.3 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.04829, allocations: 90.56 kB / 360.4 MB, free: 4.246 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.04849, allocations: 144 kB / 360.5 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009412/0.04943, allocations: 0.9821 MB / 361.5 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.04945, allocations: 7.953 kB / 361.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/0.04952, allocations: 47.98 kB / 361.5 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.243e-05/0.04961, allocations: 78.03 kB / 361.6 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.05013, allocations: 385.4 kB / 362 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.05395, allocations: 3.998 MB / 366 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.05451, allocations: 494.4 kB / 366.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.05479, allocations: 220.5 kB / 366.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.05484, allocations: 20.59 kB / 366.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.05487, allocations: 39.22 kB / 366.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=76): time 2.094e-06/0.05487, allocations: 4 kB / 366.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=85): time 0.002783/0.05766, allocations: 1.581 MB / 368.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/0.05775, allocations: 188.9 kB / 368.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.05827, allocations: 0.7126 MB / 369.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.05832, allocations: 49.7 kB / 369.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.05857, allocations: 0.4982 MB / 369.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.05874, allocations: 325.2 kB / 370.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.05893, allocations: 174.5 kB / 370.3 MB, free: 9.855 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.05904, allocations: 349.9 kB / 370.6 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.05921, allocations: 115.6 kB / 370.7 MB, free: 9.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.05952, allocations: 441 kB / 371.2 MB, free: 8.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.06002, allocations: 0.5568 MB / 371.7 MB, free: 8.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.06002, allocations: 4 kB / 371.7 MB, free: 8.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001515/0.06154, allocations: 0.985 MB / 372.7 MB, free: 7.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.06156, allocations: 12.86 kB / 372.7 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.06157, allocations: 8 kB / 372.7 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/0.06322, allocations: 0.7141 MB / 373.4 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.06367, allocations: 186.6 kB / 373.6 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006285/0.06996, allocations: 6.307 MB / 379.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.07033, allocations: 39.98 kB / 380 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.07037, allocations: 28.12 kB / 380 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003755/0.07075, allocations: 215.7 kB / 380.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003139/0.07106, allocations: 433.1 kB / 380.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006225/0.07168, allocations: 0.5307 MB / 381.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.07169, allocations: 0 / 381.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.001694/0.07338, allocations: 0.9349 MB / 382.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.0734, allocations: 12.16 kB / 382.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.0734, allocations: 8 kB / 382.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.07489, allocations: 0.6808 MB / 382.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.07528, allocations: 187.6 kB / 383 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/0.0812, allocations: 6.197 MB / 389.2 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006203/0.08182, allocations: 47.88 kB / 389.2 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.08187, allocations: 28 kB / 389.2 MB, free: 5.781 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,limPID_DC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0002359/0.08211, allocations: 248 kB / 389.5 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.08229, allocations: 87.91 kB / 389.6 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007864/0.08307, allocations: 0.5421 MB / 390.1 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.08309, allocations: 15.94 kB / 390.1 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.0831, allocations: 0 / 390.1 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.08311, allocations: 7.969 kB / 390.1 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.0848, allocations: 1.165 MB / 391.3 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.0848, allocations: 0 / 391.3 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.0854, allocations: 206.3 kB / 391.5 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001337/0.08553, allocations: 72.11 kB / 391.6 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/0.08559, allocations: 27.98 kB / 391.6 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.08744, allocations: 3.834 MB / 395.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.08745, allocations: 0 / 395.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.08834, allocations: 0.882 MB / 396.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/0.08858, allocations: 135.2 kB / 396.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.08867, allocations: 24 kB / 396.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.08896, allocations: 31.98 kB / 396.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/0.08905, allocations: 48.89 kB / 396.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.08908, allocations: 23.98 kB / 396.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003038/0.08939, allocations: 345.9 kB / 396.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08939, allocations: 0 / 396.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001306/0.09069, allocations: 0.5546 MB / 397.5 MB, free: 13.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.generator.i_rd[1],turboGen.generator.i_rq[1],turboGen.governor.speedReg.x_scaled[1],turboGen.rotor.phi,turboGen.rotor.w,capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,limPID_DC.I.y,limPID_DC.D.x) * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002794/0.09097, allocations: 136.1 kB / 397.6 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002739/0.09371, allocations: 2.18 MB / 399.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.849e-05/0.09373, allocations: 12 kB / 399.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005292/0.09426, allocations: 0.5823 MB / 400.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008178/0.09508, allocations: 299.4 kB / 400.7 MB, free: 9.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.0989, allocations: 2.432 MB / 403.1 MB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.0993, allocations: 374.5 kB / 403.5 MB, free: 6.961 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004647/0.09976, allocations: 156.6 kB / 403.6 MB, free: 6.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/0.1003, allocations: 285.1 kB / 403.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.1003, allocations: 4 kB / 403.9 MB, free: 6.523 MB / 378.7 MB Notification: Performance of Templates: time 0.03594/0.1362, allocations: 26.13 MB / 430 MB, free: 12.71 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.776341919321567]