Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 186.4 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05241/0.05241, allocations: 8.099 MB / 299.3 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 414.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1112, allocations: 51.52 MB / 466 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.004066/0.1153, allocations: 2.8 MB / 468.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.1181, allocations: 1.757 MB / 470.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1183, allocations: 8 kB / 470.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.1188, allocations: 179 kB / 470.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005789/0.1194, allocations: 266.3 kB / 471 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.1215, allocations: 1.12 MB / 472.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006785/0.1222, allocations: 0.5131 MB / 472.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.1225, allocations: 164.3 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1227, allocations: 211.2 kB / 473 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.123, allocations: 258.9 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.209e-05/0.1231, allocations: 40 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004963/0.1236, allocations: 259.8 kB / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.1237, allocations: 111.5 kB / 473.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.1239, allocations: 246.8 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007505/0.1247, allocations: 0.6698 MB / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1247, allocations: 4 kB / 474.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1247, allocations: 0 / 474.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1247, allocations: 0 / 474.6 MB, free: 9.523 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005966/0.1307, allocations: 1.658 MB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.1308, allocations: 16.02 kB / 476.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.1309, allocations: 52.38 kB / 476.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.1314, allocations: 360 kB / 476.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.1315, allocations: 33.38 kB / 476.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.1316, allocations: 40.38 kB / 476.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.1328, allocations: 0.6011 MB / 477.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.1328, allocations: 3.938 kB / 477.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/0.1329, allocations: 19.94 kB / 477.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.1329, allocations: 8 kB / 477.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.1343, allocations: 0.5428 MB / 477.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004574/0.1389, allocations: 2.219 MB / 480.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.1407, allocations: 0.8809 MB / 481 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008513/0.1416, allocations: 406.4 kB / 481.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002735/0.1443, allocations: 1.338 MB / 482.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.1444, allocations: 50.94 kB / 482.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 3.026e-06/0.1444, allocations: 0 / 482.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.01648/0.1609, allocations: 2.65 MB / 485.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.1611, allocations: 111.2 kB / 485.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/0.1618, allocations: 337.4 kB / 485.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.1619, allocations: 45.69 kB / 485.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.1622, allocations: 193.1 kB / 486.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.1625, allocations: 189.2 kB / 486.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004326/0.1629, allocations: 146.6 kB / 486.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.1632, allocations: 354.8 kB / 486.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.1644, allocations: 401.9 kB / 487.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.1657, allocations: 0.5089 MB / 487.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.1684, allocations: 0.9453 MB / 488.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.1684, allocations: 0 / 488.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.008555/0.177, allocations: 1.785 MB / 490.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.177, allocations: 4 kB / 490.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.1771, allocations: 8 kB / 490.4 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008807/0.1859, allocations: 1.088 MB / 491.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009278/0.1869, allocations: 123.8 kB / 491.6 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/0.2039, allocations: 5.222 MB / 496.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.2053, allocations: 79.11 kB / 496.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/0.2055, allocations: 24 kB / 496.9 MB, free: 2.359 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005466/0.2061, allocations: 181.8 kB / 497.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.2064, allocations: 39.53 kB / 497.2 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008641/0.2151, allocations: 1.632 MB / 498.8 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.2151, allocations: 8 kB / 498.8 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.2151, allocations: 4 kB / 498.8 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.2152, allocations: 7.984 kB / 498.8 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.2167, allocations: 0.6658 MB / 499.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.2167, allocations: 0 / 499.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.2172, allocations: 63.91 kB / 499.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008147/0.2253, allocations: 1.03 MB / 0.4888 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.2254, allocations: 12 kB / 0.4888 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00954/0.235, allocations: 5.206 MB / 0.4939 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.235, allocations: 0 / 0.4939 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004471/0.2395, allocations: 1.624 MB / 0.4955 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.2398, allocations: 124.4 kB / 0.4956 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.95e-05/0.2399, allocations: 12 kB / 0.4956 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.2403, allocations: 19.98 kB / 0.4957 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.2405, allocations: 52.5 kB / 0.4957 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.2405, allocations: 23.92 kB / 0.4957 GB, free: 7.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002514/0.2408, allocations: 223.2 kB / 0.4959 GB, free: 7.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2408, allocations: 0 / 0.4959 GB, free: 7.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008995/0.2417, allocations: 235.8 kB / 0.4962 GB, free: 6.965 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002756/0.242, allocations: 131.2 kB / 0.4963 GB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003466/0.2455, allocations: 1.341 MB / 0.4976 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.2455, allocations: 4 kB / 0.4976 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.2476, allocations: 0.8191 MB / 0.4984 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.2481, allocations: 44 kB / 0.4985 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.2499, allocations: 0.9139 MB / 0.4993 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.2504, allocations: 0.8371 MB / 0.5002 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.2506, allocations: 59.25 kB / 0.5002 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.2507, allocations: 39.42 kB / 0.5003 GB, free: 2.707 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2507, allocations: 3.938 kB / 0.5003 GB, free: 2.703 MB / 382.1 MB Notification: Performance of Templates: time 0.2554/0.506, allocations: 13.41 MB / 0.5134 GB, free: 43.5 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)