Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 121.2 kB / 17.13 MB, free: 5.914 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.0009932/0.0009932, allocations: 190.9 kB / 18.06 MB, free: 4.996 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.442/1.442, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04625/0.04625, allocations: 8.101 MB / 300 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 415.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08724, allocations: 51.51 MB / 466.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002788/0.09005, allocations: 1.609 MB / 468.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.09197, allocations: 1.555 MB / 469.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.434e-05/0.09208, allocations: 4 kB / 469.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.09243, allocations: 123.3 kB / 469.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.09276, allocations: 135.1 kB / 470.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.09474, allocations: 1.174 MB / 471.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.09507, allocations: 242.8 kB / 471.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.09523, allocations: 80.34 kB / 471.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.09533, allocations: 99.58 kB / 471.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.09553, allocations: 131.4 kB / 471.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.09557, allocations: 20 kB / 471.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000401/0.09598, allocations: 251.8 kB / 472.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.09604, allocations: 51.77 kB / 472.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.09617, allocations: 115.4 kB / 472.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.0967, allocations: 434.8 kB / 472.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.09671, allocations: 0 / 472.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09672, allocations: 0 / 472.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.09673, allocations: 0 / 472.7 MB, free: 12.13 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003044/0.09978, allocations: 0.9047 MB / 473.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.09983, allocations: 11.89 kB / 473.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.09992, allocations: 36.64 kB / 473.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1002, allocations: 251.9 kB / 473.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1003, allocations: 16.7 kB / 473.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.1003, allocations: 24.31 kB / 473.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.1008, allocations: 285.7 kB / 474.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1008, allocations: 192 / 474.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.1008, allocations: 15.92 kB / 474.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1008, allocations: 4 kB / 474.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.1012, allocations: 243.9 kB / 474.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1027, allocations: 1.141 MB / 475.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/0.1032, allocations: 314.4 kB / 475.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1035, allocations: 153.3 kB / 476 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.1035, allocations: 7.938 kB / 476 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1035, allocations: 46.55 kB / 476.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.1036, allocations: 0 / 476.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.00309/0.1067, allocations: 0.9641 MB / 477 MB, free: 7.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1067, allocations: 81.11 kB / 477.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1069, allocations: 214.8 kB / 477.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.107, allocations: 33.7 kB / 477.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.1071, allocations: 132.8 kB / 477.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.1071, allocations: 90.75 kB / 477.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1072, allocations: 65.69 kB / 477.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1074, allocations: 330.8 kB / 478 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.1076, allocations: 156 kB / 478.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.1079, allocations: 197.6 kB / 478.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.1084, allocations: 374.1 kB / 478.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1084, allocations: 0 / 478.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001719/0.1101, allocations: 0.6927 MB / 479.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1102, allocations: 8 kB / 479.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1102, allocations: 0 / 479.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.1119, allocations: 372.5 kB / 479.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.1122, allocations: 59.84 kB / 479.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/0.1166, allocations: 2.746 MB / 482.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.1169, allocations: 27.75 kB / 482.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.1169, allocations: 15.98 kB / 482.6 MB, free: 1.695 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.1171, allocations: 129.8 kB / 482.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.1171, allocations: 31.66 kB / 482.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.1189, allocations: 0.6443 MB / 483.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.1189, allocations: 11.88 kB / 483.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.1189, allocations: 4 kB / 483.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1189, allocations: 3.984 kB / 483.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.1193, allocations: 389.3 kB / 483.8 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1193, allocations: 0 / 483.8 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1195, allocations: 39.97 kB / 483.8 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/0.1211, allocations: 372.4 kB / 484.2 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.1212, allocations: 8 kB / 484.2 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004035/0.1252, allocations: 2.715 MB / 486.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1252, allocations: 0 / 486.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.1269, allocations: 0.7072 MB / 487.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.1269, allocations: 100.9 kB / 487.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.127, allocations: 3.906 kB / 487.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.1272, allocations: 20.11 kB / 487.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.1273, allocations: 19.97 kB / 487.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.1273, allocations: 12 kB / 487.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1275, allocations: 155.4 kB / 487.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1275, allocations: 4 kB / 487.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004351/0.1279, allocations: 99.98 kB / 488 MB, free: 12 MB / 366.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 (22): * Single equations (assignments): 21 * 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002021/0.1281, allocations: 119.2 kB / 488.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.1297, allocations: 0.6469 MB / 488.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.1298, allocations: 3.938 kB / 488.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.1309, allocations: 458.3 kB / 489.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1313, allocations: 26.69 kB / 489.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.1321, allocations: 0.5239 MB / 489.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1324, allocations: 0.7446 MB / 490.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.1325, allocations: 31.42 kB / 490.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1325, allocations: 0 / 490.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of Templates: time 0.006528/0.139, allocations: 4.882 MB / 495.5 MB, free: 4.492 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)