Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.0019/0.0019, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002014/0.002014, allocations: 161.3 kB / 24.27 MB, free: 160 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 1.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.2966/0.2966, allocations: 29.41 MB / 290.5 MB, free: 2.438 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.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.646e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006984/0.007011, allocations: 4.662 MB / 373.5 MB, free: 6.633 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.009526, allocations: 1.309 MB / 374.9 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.009713, allocations: 15.88 kB / 374.9 MB, free: 5.305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.01103, allocations: 410.1 kB / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007033/0.01173, allocations: 262.5 kB / 375.5 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.0123, allocations: 171.4 kB / 375.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007242/0.01302, allocations: 0.5839 MB / 376.3 MB, free: 3.891 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.01343, allocations: 221.5 kB / 376.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005801/0.01401, allocations: 354.9 kB / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.01452, allocations: 267.2 kB / 377.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.716e-05/0.01459, allocations: 31.98 kB / 377.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.01491, allocations: 131.7 kB / 377.3 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.01516, allocations: 199.5 kB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.01538, allocations: 151.7 kB / 377.6 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007549/0.01614, allocations: 0.514 MB / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.01614, allocations: 0 / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01614, allocations: 0 / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.01615, allocations: 4 kB / 378.1 MB, free: 2.043 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001324/0.01748, allocations: 0.7657 MB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.01752, allocations: 11.98 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000665/0.01818, allocations: 120.6 kB / 379 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000746/0.01893, allocations: 354.8 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.01897, allocations: 33.36 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.01911, allocations: 48.62 kB / 379.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.01977, allocations: 370 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.01979, allocations: 0 / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.01983, allocations: 19.98 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.01995, allocations: 28.92 kB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.02035, allocations: 179.8 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.02298, allocations: 1.645 MB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.02327, allocations: 121 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.02341, allocations: 67.36 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.02343, allocations: 4 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.02347, allocations: 41.38 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.02347, allocations: 0 / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001413/0.02488, allocations: 0.5776 MB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.02495, allocations: 77.11 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.02537, allocations: 394.1 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.02539, allocations: 25.7 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.02566, allocations: 318.7 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.02574, allocations: 71.42 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.02586, allocations: 71.64 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003111/0.02618, allocations: 0.5235 MB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.02629, allocations: 48.25 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.02656, allocations: 203.8 kB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.02697, allocations: 278.3 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.02698, allocations: 7.938 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008282/0.02781, allocations: 356.8 kB / 384.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.02782, allocations: 4 kB / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005081/0.02833, allocations: 187.7 kB / 385 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/0.02894, allocations: 127.5 kB / 385.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.02916, allocations: 59.84 kB / 385.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/0.03219, allocations: 2.402 MB / 387.6 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.03236, allocations: 12 kB / 387.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.03239, allocations: 8.156 kB / 387.6 MB, free: 7.973 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002057/0.03259, allocations: 192.4 kB / 387.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.03267, allocations: 35.8 kB / 387.8 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.03308, allocations: 187.4 kB / 388 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.03308, allocations: 0 / 388 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.03308, allocations: 0 / 388 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.03308, allocations: 0 / 388 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.0343, allocations: 0.6409 MB / 388.7 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.0343, allocations: 4 kB / 388.7 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.03454, allocations: 39.98 kB / 388.7 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-05/0.03463, allocations: 27.67 kB / 388.7 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.03466, allocations: 7.984 kB / 388.7 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.03634, allocations: 1.907 MB / 390.6 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.03634, allocations: 0 / 390.6 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.03691, allocations: 398.2 kB / 391 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.03697, allocations: 27.84 kB / 391.1 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.03701, allocations: 4 kB / 391.1 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.03716, allocations: 11.98 kB / 391.1 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.0372, allocations: 11.98 kB / 391.1 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.03723, allocations: 8 kB / 391.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002753/0.03751, allocations: 243 kB / 391.3 MB, free: 4.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03751, allocations: 4 kB / 391.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004915/0.038, allocations: 91.94 kB / 391.4 MB, free: 3.922 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001647/0.03816, allocations: 103.2 kB / 391.5 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008253/0.03899, allocations: 401 kB / 391.9 MB, free: 3.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03899, allocations: 0 / 391.9 MB, free: 3.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.03941, allocations: 279.8 kB / 392.2 MB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.03988, allocations: 67.97 kB / 392.3 MB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.04124, allocations: 0.7662 MB / 393 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.04152, allocations: 225.1 kB / 393.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.04167, allocations: 50.92 kB / 393.3 MB, free: 1.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.04174, allocations: 28.5 kB / 393.3 MB, free: 1.926 MB / 362.7 MB Notification: Performance of SimCode: time 6.32e-07/0.04174, allocations: 0 / 393.3 MB, free: 1.926 MB / 362.7 MB Notification: Performance of Templates: time 0.009508/0.05125, allocations: 3.941 MB / 397.3 MB, free: 14.03 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.818906103959307]