Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 121.8 kB / 17.13 MB, free: 5.895 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.001477/0.001477, allocations: 194.9 kB / 18.06 MB, free: 4.977 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.38/1.38, allocations: 222.9 MB / 241.8 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04741/0.04741, allocations: 8.101 MB / 300 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 415.1 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08186/0.08302, allocations: 51.52 MB / 466.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002616/0.08566, allocations: 1.555 MB / 468.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.08772, allocations: 1.543 MB / 469.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.08789, allocations: 8 kB / 469.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.08832, allocations: 127.3 kB / 469.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.08869, allocations: 111.2 kB / 470 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.09035, allocations: 0.9179 MB / 470.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.09075, allocations: 238.8 kB / 471.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.09092, allocations: 84.34 kB / 471.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.09107, allocations: 103.6 kB / 471.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.09127, allocations: 123.5 kB / 471.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.09132, allocations: 16 kB / 471.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.09172, allocations: 203.8 kB / 471.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.09177, allocations: 51.77 kB / 471.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.0919, allocations: 111.5 kB / 471.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.09243, allocations: 382.9 kB / 472.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09244, allocations: 3.938 kB / 472.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09245, allocations: 4 kB / 472.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.09247, allocations: 0 / 472.2 MB, free: 12.57 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.002528/0.095, allocations: 0.8111 MB / 473 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.09504, allocations: 11.89 kB / 473 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.09513, allocations: 36.64 kB / 473.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.09541, allocations: 255.9 kB / 473.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.09544, allocations: 16.7 kB / 473.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.09548, allocations: 16.38 kB / 473.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.0959, allocations: 260 kB / 473.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.09592, allocations: 192 / 473.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.09596, allocations: 11.94 kB / 473.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.09597, allocations: 4 kB / 473.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.09633, allocations: 239.9 kB / 473.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.09778, allocations: 1.121 MB / 475 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.09845, allocations: 314.4 kB / 475.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.09869, allocations: 158.1 kB / 475.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.09874, allocations: 11.92 kB / 475.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.09877, allocations: 42.55 kB / 475.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/0.09878, allocations: 0 / 475.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003201/0.102, allocations: 0.9787 MB / 476.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.102, allocations: 55.41 kB / 476.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.1022, allocations: 186.4 kB / 476.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.1023, allocations: 33.7 kB / 476.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.1024, allocations: 128.4 kB / 476.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/0.1024, allocations: 86.75 kB / 477 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.1026, allocations: 61.69 kB / 477 MB, free: 7.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1027, allocations: 330.8 kB / 477.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.1029, allocations: 156 kB / 477.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.1032, allocations: 161 kB / 477.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.1037, allocations: 346.4 kB / 478 MB, free: 6.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1037, allocations: 0 / 478 MB, free: 6.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001542/0.1052, allocations: 0.6458 MB / 478.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1053, allocations: 8 kB / 478.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1053, allocations: 4 kB / 478.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.1067, allocations: 324.5 kB / 479 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.1069, allocations: 43.92 kB / 479 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004113/0.111, allocations: 2.751 MB / 481.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.1112, allocations: 27.69 kB / 481.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.1113, allocations: 12 kB / 481.8 MB, free: 2.512 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 (27): * Single equations (assignments): 26 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.1114, allocations: 141.8 kB / 481.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.1115, allocations: 15.81 kB / 481.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.1131, allocations: 0.6133 MB / 482.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1131, allocations: 0 / 482.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1131, allocations: 7.938 kB / 482.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1131, allocations: 3.938 kB / 482.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.1135, allocations: 385.1 kB / 482.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1135, allocations: 3.984 kB / 483 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.1136, allocations: 35.92 kB / 483 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.115, allocations: 308.5 kB / 483.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.115, allocations: 12 kB / 483.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/0.119, allocations: 2.722 MB / 486 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.119, allocations: 3.938 kB / 486 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.1205, allocations: 0.676 MB / 486.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.1206, allocations: 101.1 kB / 486.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.1206, allocations: 4 kB / 486.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.1208, allocations: 15.98 kB / 486.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.1209, allocations: 23.91 kB / 486.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.1209, allocations: 12 kB / 486.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.1211, allocations: 139.2 kB / 487 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1211, allocations: 4 kB / 487 MB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004365/0.1215, allocations: 99.91 kB / 487.1 MB, free: 12.96 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 (20): * Single equations (assignments): 19 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000196/0.1217, allocations: 119.1 kB / 487.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.1232, allocations: 0.6313 MB / 487.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1232, allocations: 0 / 487.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.1243, allocations: 438.3 kB / 488.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1246, allocations: 30.81 kB / 488.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008535/0.1255, allocations: 0.5114 MB / 488.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1258, allocations: 0.7523 MB / 489.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.1259, allocations: 23.44 kB / 489.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1259, allocations: 0 / 489.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Templates: time 0.007106/0.133, allocations: 4.531 MB / 494.1 MB, free: 5.844 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)