Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 114.2 kB / 17.13 MB, free: 5.922 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.00117/0.00117, allocations: 198.2 kB / 18.06 MB, free: 5 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.305/1.305, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04511/0.04511, allocations: 8.096 MB / 300 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.84 kB / 415.1 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07998/0.08114, allocations: 51.51 MB / 466.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.00248/0.08366, allocations: 1.695 MB / 468.4 MB, free: 464 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.08544, allocations: 1.559 MB / 469.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.714e-05/0.08553, allocations: 4 kB / 469.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.08585, allocations: 131.3 kB / 470 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.08614, allocations: 127.2 kB / 470.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.08767, allocations: 0.9256 MB / 471.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.08799, allocations: 262.7 kB / 471.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.08815, allocations: 92.56 kB / 471.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.08826, allocations: 103.6 kB / 471.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.08847, allocations: 151.4 kB / 471.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.08851, allocations: 20 kB / 471.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.08886, allocations: 211.8 kB / 471.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.08892, allocations: 47.84 kB / 472 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.08904, allocations: 127.3 kB / 472.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.08948, allocations: 414.8 kB / 472.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.08949, allocations: 0 / 472.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0895, allocations: 0 / 472.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.08951, allocations: 4 kB / 472.5 MB, free: 12.29 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00244/0.09196, allocations: 0.8424 MB / 473.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.092, allocations: 11.89 kB / 473.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.09208, allocations: 32.56 kB / 473.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.09236, allocations: 268.6 kB / 473.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.09239, allocations: 12.81 kB / 473.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.09244, allocations: 32.3 kB / 473.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.09289, allocations: 291.8 kB / 474 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.09291, allocations: 4.188 kB / 474 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.09295, allocations: 7.938 kB / 474 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.09296, allocations: 4 kB / 474 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.09335, allocations: 277.6 kB / 474.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.09475, allocations: 1.039 MB / 475.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008992/0.09566, allocations: 462.4 kB / 475.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.09592, allocations: 177.3 kB / 475.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.335e-05/0.09598, allocations: 8 kB / 475.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.09601, allocations: 46.48 kB / 476 MB, free: 8.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.09602, allocations: 4 kB / 476 MB, free: 8.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002826/0.09885, allocations: 0.9444 MB / 476.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.0989, allocations: 51.41 kB / 477 MB, free: 7.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.09912, allocations: 219.7 kB / 477.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.09916, allocations: 41.64 kB / 477.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.09925, allocations: 140.6 kB / 477.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.381e-05/0.09933, allocations: 98.55 kB / 477.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.09945, allocations: 77.62 kB / 477.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.09957, allocations: 330.8 kB / 477.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.09982, allocations: 172 kB / 478 MB, free: 6.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.1001, allocations: 179.9 kB / 478.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.1006, allocations: 393.2 kB / 478.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1006, allocations: 8 kB / 478.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001368/0.102, allocations: 0.6578 MB / 479.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.102, allocations: 7.938 kB / 479.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.102, allocations: 0 / 479.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000999/0.103, allocations: 252.5 kB / 479.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.1033, allocations: 51.97 kB / 479.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/0.1068, allocations: 2.688 MB / 482.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.107, allocations: 23.69 kB / 482.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.107, allocations: 23.92 kB / 482.3 MB, free: 2.02 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.1072, allocations: 139.2 kB / 482.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.1073, allocations: 23.72 kB / 482.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.1086, allocations: 0.614 MB / 483.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1086, allocations: 7.938 kB / 483.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1086, allocations: 0 / 483.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1086, allocations: 0 / 483.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.1103, allocations: 1.061 MB / 484.1 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1103, allocations: 0 / 484.1 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1105, allocations: 24 kB / 484.2 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009679/0.1114, allocations: 248.6 kB / 484.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.1115, allocations: 4 kB / 484.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003283/0.1148, allocations: 2.668 MB / 487.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1148, allocations: 96 / 487.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.116, allocations: 0.6613 MB / 487.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.1161, allocations: 104.8 kB / 487.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.1162, allocations: 7.938 kB / 487.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.1164, allocations: 15.88 kB / 487.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.1165, allocations: 27.95 kB / 487.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.1165, allocations: 12 kB / 487.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.1167, allocations: 159 kB / 488.1 MB, free: 12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1167, allocations: 0 / 488.1 MB, free: 12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.1171, allocations: 115.9 kB / 488.2 MB, free: 11.88 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001833/0.1173, allocations: 119.1 kB / 488.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.1185, allocations: 0.6116 MB / 488.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1185, allocations: 4 kB / 488.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00078/0.1193, allocations: 394.4 kB / 489.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1197, allocations: 39.86 kB / 489.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.1205, allocations: 0.5432 MB / 489.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1208, allocations: 0.7523 MB / 490.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.1209, allocations: 27.42 kB / 490.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1209, allocations: 0 / 490.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of Templates: time 0.006224/0.1271, allocations: 4.684 MB / 495.3 MB, free: 4.629 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)