Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001528/0.001528, allocations: 83.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.001488/0.001488, 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.9636/0.9636, allocations: 177.1 MB / 205 MB, free: 5.609 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.2683/0.2683, allocations: 29.42 MB / 290.9 MB, free: 2.492 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3.114e-05, allocations: 2.312 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004908/0.004939, allocations: 4.056 MB / 373.7 MB, free: 6.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.007034, allocations: 1.442 MB / 375.1 MB, free: 5.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.007307, allocations: 15.88 kB / 375.1 MB, free: 5.477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.007925, allocations: 151.1 kB / 375.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005567/0.008481, allocations: 250.6 kB / 375.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.009136, allocations: 263.1 kB / 375.8 MB, free: 4.824 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006103/0.009747, allocations: 0.5689 MB / 376.4 MB, free: 4.254 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.01014, allocations: 225.7 kB / 376.6 MB, free: 4.035 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.01068, allocations: 383 kB / 376.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.01103, allocations: 327.2 kB / 377.3 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.01108, allocations: 36 kB / 377.3 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.01147, allocations: 231.5 kB / 377.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.01167, allocations: 259.4 kB / 377.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.01183, allocations: 179.6 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006938/0.01252, allocations: 0.5412 MB / 378.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.01253, allocations: 0 / 378.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01253, allocations: 0 / 378.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.01254, allocations: 0 / 378.5 MB, free: 2.105 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00103/0.01357, allocations: 0.8094 MB / 379.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.01362, allocations: 15.98 kB / 379.3 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005767/0.0142, allocations: 172.4 kB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.01459, allocations: 351.1 kB / 379.8 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.01461, allocations: 33.36 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.695e-05/0.01471, allocations: 44.53 kB / 379.9 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.01522, allocations: 473.5 kB / 380.4 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01524, allocations: 4 kB / 380.4 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.01527, allocations: 12 kB / 380.4 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.01538, allocations: 56.89 kB / 380.4 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.01585, allocations: 313.6 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.01801, allocations: 2.466 MB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.01829, allocations: 198.3 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.01841, allocations: 107.4 kB / 383.5 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.01844, allocations: 12 kB / 383.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.01847, allocations: 37.39 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.815e-06/0.01847, allocations: 0 / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001187/0.01966, allocations: 0.8455 MB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.0197, allocations: 85.11 kB / 384.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.01991, allocations: 338.2 kB / 384.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.01993, allocations: 29.7 kB / 384.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.02005, allocations: 314.9 kB / 385.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/0.02013, allocations: 162.8 kB / 385.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.02023, allocations: 99.8 kB / 385.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.02036, allocations: 0.5235 MB / 385.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.02047, allocations: 77.11 kB / 386 MB, free: 10.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.02068, allocations: 318.5 kB / 386.3 MB, free: 9.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.02103, allocations: 437.7 kB / 386.7 MB, free: 9.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02104, allocations: 4 kB / 386.8 MB, free: 9.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004823/0.02152, allocations: 430.1 kB / 387.2 MB, free: 8.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.02154, allocations: 4 kB / 387.2 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.02155, allocations: 8 kB / 387.2 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.02157, allocations: 11.94 kB / 387.2 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.02182, allocations: 111.8 kB / 387.3 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.02183, allocations: 15.92 kB / 387.3 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.02196, allocations: 24.39 kB / 387.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.02199, allocations: 20 kB / 387.4 MB, free: 8.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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 0.000121/0.02211, allocations: 192.4 kB / 387.6 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.02219, allocations: 55.75 kB / 387.6 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.02255, allocations: 288.7 kB / 387.9 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.02257, allocations: 15.94 kB / 387.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.02257, allocations: 0 / 387.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02258, allocations: 3.984 kB / 387.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/0.02351, allocations: 0.8191 MB / 388.7 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.02351, allocations: 4 kB / 388.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.02371, allocations: 79.83 kB / 388.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.02372, allocations: 0 / 388.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.02373, allocations: 8 kB / 388.8 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.02374, allocations: 4 kB / 388.8 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.02374, allocations: 0 / 388.8 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.02426, allocations: 0.5509 MB / 389.4 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.013e-05/0.0243, allocations: 35.69 kB / 389.4 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.02434, allocations: 12.09 kB / 389.4 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.02444, allocations: 15.98 kB / 389.4 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.02448, allocations: 27.95 kB / 389.5 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.0245, allocations: 12 kB / 389.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.02462, allocations: 215 kB / 389.7 MB, free: 6.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02462, allocations: 0 / 389.7 MB, free: 6.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003356/0.02495, allocations: 108 kB / 389.8 MB, free: 6.121 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.0001992/0.02515, allocations: 143.1 kB / 389.9 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003728/0.02552, allocations: 281.5 kB / 390.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.02553, allocations: 0 / 390.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.02566, allocations: 132.9 kB / 390.3 MB, free: 5.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.026, allocations: 71.17 kB / 390.4 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.0274, allocations: 0.9285 MB / 391.3 MB, free: 4.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.928e-05/0.0275, allocations: 145.7 kB / 391.5 MB, free: 4.355 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.02768, allocations: 107.1 kB / 391.6 MB, free: 4.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.02775, allocations: 32.5 kB / 391.6 MB, free: 4.219 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02775, allocations: 0 / 391.6 MB, free: 4.219 MB / 362.7 MB Notification: Performance of Templates: time 0.006811/0.03456, allocations: 4.007 MB / 395.6 MB, free: 288 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0481905578635633]