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.0008139/0.0008139, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0008867/0.0008867, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9159/0.9159, allocations: 177.1 MB / 206 MB, free: 4.496 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.1164/0.1164, allocations: 29.43 MB / 292 MB, free: 2.656 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 2.154e-06/2.154e-06, allocations: 0 / 370.8 MB, free: 32.36 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/2.009e-05, allocations: 2.312 kB / 370.9 MB, free: 32.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004684/0.004704, allocations: 4.034 MB / 374.9 MB, free: 28.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.006923, allocations: 1.442 MB / 376.3 MB, free: 26.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.007123, allocations: 19.81 kB / 376.3 MB, free: 26.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005871/0.00771, allocations: 135.2 kB / 376.5 MB, free: 26.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.008231, allocations: 262.5 kB / 376.7 MB, free: 26.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.00885, allocations: 259.1 kB / 377 MB, free: 26.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005455/0.009395, allocations: 0.5689 MB / 377.6 MB, free: 25.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.009737, allocations: 225.7 kB / 377.8 MB, free: 25.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.01027, allocations: 383 kB / 378.2 MB, free: 25.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.01067, allocations: 327.2 kB / 378.5 MB, free: 24.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.203e-05/0.01073, allocations: 36 kB / 378.5 MB, free: 24.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.01112, allocations: 231.5 kB / 378.7 MB, free: 24.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.01133, allocations: 255.4 kB / 379 MB, free: 24.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.01152, allocations: 179.6 kB / 379.2 MB, free: 24.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.01215, allocations: 0.549 MB / 379.7 MB, free: 23.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.01215, allocations: 0 / 379.7 MB, free: 23.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01215, allocations: 0 / 379.7 MB, free: 23.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.01216, allocations: 0 / 379.7 MB, free: 23.47 MB / 314.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.001093/0.01326, allocations: 0.7817 MB / 380.5 MB, free: 22.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.01329, allocations: 8.031 kB / 380.5 MB, free: 22.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006655/0.01396, allocations: 148.5 kB / 380.6 MB, free: 22.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.01441, allocations: 331.1 kB / 381 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.01444, allocations: 33.36 kB / 381 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.01456, allocations: 40.56 kB / 381 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.01512, allocations: 449.4 kB / 381.5 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.01514, allocations: 0 / 381.5 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.01518, allocations: 12 kB / 381.5 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.01532, allocations: 44.98 kB / 381.5 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.01578, allocations: 246.6 kB / 381.8 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.01823, allocations: 2.419 MB / 384.2 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.01853, allocations: 182.3 kB / 384.4 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.01866, allocations: 79.41 kB / 384.4 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.01869, allocations: 11.98 kB / 384.5 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.01871, allocations: 45.59 kB / 384.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.325e-06/0.01872, allocations: 0 / 384.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001167/0.01988, allocations: 0.6702 MB / 385.2 MB, free: 17.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.01992, allocations: 85.23 kB / 385.3 MB, free: 17.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.02013, allocations: 338 kB / 385.6 MB, free: 17.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.02015, allocations: 29.7 kB / 385.6 MB, free: 17.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.02027, allocations: 310.9 kB / 385.9 MB, free: 16.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.719e-05/0.02037, allocations: 166.6 kB / 386.1 MB, free: 16.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.0205, allocations: 99.75 kB / 386.2 MB, free: 16.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.02059, allocations: 0.5235 MB / 386.7 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.0207, allocations: 65.11 kB / 386.8 MB, free: 16.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.02091, allocations: 295.9 kB / 387.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.02128, allocations: 401.7 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02129, allocations: 0 / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005571/0.02184, allocations: 397.6 kB / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.02186, allocations: 4 kB / 387.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.02187, allocations: 8 kB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.02189, allocations: 12.62 kB / 387.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.02224, allocations: 103.8 kB / 388 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.02225, allocations: 11.94 kB / 388 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.02245, allocations: 12 kB / 388 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.02249, allocations: 23.98 kB / 388 MB, free: 14.59 MB / 314.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.0001196/0.02261, allocations: 180.5 kB / 388.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.02271, allocations: 51.7 kB / 388.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.02315, allocations: 269.7 kB / 388.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.02317, allocations: 23.91 kB / 388.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.02317, allocations: 0 / 388.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.02318, allocations: 4 kB / 388.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.02424, allocations: 0.7065 MB / 389.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.02425, allocations: 3.938 kB / 389.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.02453, allocations: 55.97 kB / 389.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.02453, allocations: 11.88 kB / 389.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.02456, allocations: 8 kB / 389.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.02456, allocations: 0 / 389.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.02456, allocations: 8.094 kB / 389.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00057/0.02513, allocations: 0.4924 MB / 389.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.02518, allocations: 35.69 kB / 389.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/0.02523, allocations: 15.92 kB / 389.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.02541, allocations: 12 kB / 389.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.02545, allocations: 19.97 kB / 389.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.02548, allocations: 11.98 kB / 389.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.0256, allocations: 210.9 kB / 390.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0256, allocations: 0 / 390.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000496/0.0261, allocations: 111.9 kB / 390.2 MB, free: 12.28 MB / 314.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.0001987/0.02629, allocations: 135.1 kB / 390.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.02669, allocations: 250.7 kB / 390.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02669, allocations: 384 / 390.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.02685, allocations: 116 kB / 390.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.02735, allocations: 73.2 kB / 390.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.02895, allocations: 0.9125 MB / 391.7 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.02906, allocations: 149.6 kB / 391.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.02926, allocations: 51.25 kB / 391.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.02945, allocations: 134.2 kB / 392 MB, free: 10.39 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02946, allocations: 0 / 392 MB, free: 10.39 MB / 314.7 MB Notification: Performance of Templates: time 0.006794/0.03625, allocations: 4.197 MB / 396.2 MB, free: 6.273 MB / 314.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: 2.964420654810965]