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.001063/0.001063, allocations: 111.5 kB / 17.12 MB, free: 5.938 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.001115/0.001115, allocations: 200 kB / 18.06 MB, free: 5.023 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.317/1.317, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04675/0.04675, allocations: 8.094 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.91 kB / 415.1 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08424/0.08543, allocations: 51.52 MB / 466.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.00262/0.08808, allocations: 1.555 MB / 468.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.0901, allocations: 1.547 MB / 469.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.09028, allocations: 4 kB / 469.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.09068, allocations: 127.3 kB / 469.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.09105, allocations: 107.3 kB / 470 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.09265, allocations: 0.9177 MB / 470.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.09301, allocations: 238.8 kB / 471.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.09317, allocations: 76.36 kB / 471.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.09332, allocations: 103.6 kB / 471.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.09354, allocations: 127.5 kB / 471.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.09358, allocations: 20 kB / 471.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.09396, allocations: 207.8 kB / 471.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.09402, allocations: 43.84 kB / 471.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.09414, allocations: 111.4 kB / 471.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.09466, allocations: 386.9 kB / 472.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.09468, allocations: 0 / 472.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09469, allocations: 4 kB / 472.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.0947, allocations: 0 / 472.2 MB, free: 12.59 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.002346/0.09705, allocations: 0.8111 MB / 473 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.0971, allocations: 12.03 kB / 473 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.935e-05/0.09719, allocations: 24.66 kB / 473.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.0975, allocations: 255.9 kB / 473.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.09753, allocations: 20.7 kB / 473.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.09757, allocations: 20.31 kB / 473.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.09798, allocations: 256 kB / 473.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.09799, allocations: 192 / 473.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.09803, allocations: 15.94 kB / 473.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.09804, allocations: 4 kB / 473.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.0984, allocations: 247.8 kB / 473.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.09982, allocations: 1.121 MB / 475 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.1005, allocations: 318.4 kB / 475.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.1007, allocations: 154.1 kB / 475.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.1007, allocations: 11.88 kB / 475.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1008, allocations: 34.56 kB / 475.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.502e-06/0.1008, allocations: 0 / 475.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003071/0.1039, allocations: 0.9827 MB / 476.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.1039, allocations: 51.41 kB / 476.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.1041, allocations: 190.4 kB / 476.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.1042, allocations: 29.7 kB / 476.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.1042, allocations: 132.3 kB / 476.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.992e-05/0.1043, allocations: 90.73 kB / 477 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1044, allocations: 65.69 kB / 477 MB, free: 7.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1045, allocations: 330.8 kB / 477.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.1048, allocations: 151.9 kB / 477.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.105, allocations: 168.9 kB / 477.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.1055, allocations: 342 kB / 478 MB, free: 6.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1055, allocations: 0 / 478 MB, free: 6.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001503/0.107, allocations: 0.6501 MB / 478.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.107, allocations: 4 kB / 478.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.107, allocations: 0 / 478.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/0.1084, allocations: 324.5 kB / 479 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1086, allocations: 43.91 kB / 479 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.1125, allocations: 2.75 MB / 481.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1127, allocations: 31.67 kB / 481.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.1128, allocations: 16.06 kB / 481.8 MB, free: 2.52 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.000137/0.1129, allocations: 129.8 kB / 481.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.113, allocations: 23.81 kB / 481.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.1146, allocations: 0.6208 MB / 482.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1146, allocations: 4 kB / 482.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1146, allocations: 3.938 kB / 482.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1146, allocations: 0 / 482.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.115, allocations: 385.1 kB / 483 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1151, allocations: 0 / 483 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.1152, allocations: 31.92 kB / 483 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.1165, allocations: 320.6 kB / 483.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.1165, allocations: 4 kB / 483.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003554/0.1201, allocations: 2.727 MB / 486 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1201, allocations: 0 / 486 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.1215, allocations: 0.6761 MB / 486.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.1216, allocations: 96.84 kB / 486.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.1216, allocations: 8 kB / 486.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.1218, allocations: 8 kB / 486.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.1219, allocations: 31.89 kB / 486.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.1219, allocations: 8 kB / 486.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1221, allocations: 143.2 kB / 487 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1221, allocations: 0 / 487 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004176/0.1225, allocations: 99.91 kB / 487.1 MB, free: 12.98 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.0001863/0.1227, allocations: 107.2 kB / 487.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.1242, allocations: 0.6286 MB / 487.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1242, allocations: 4.281 kB / 487.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009623/0.1252, allocations: 446.2 kB / 488.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1256, allocations: 34.75 kB / 488.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008852/0.1265, allocations: 0.5077 MB / 488.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1268, allocations: 0.7446 MB / 489.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.1268, allocations: 27.42 kB / 489.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1268, allocations: 0 / 489.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of Templates: time 0.007006/0.1339, allocations: 4.568 MB / 494.1 MB, free: 5.824 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)