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/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.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.00454/0.00454, allocations: 93.11 kB / 15.91 MB, free: 6.273 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.001055/0.001055, allocations: 200.2 kB / 16.84 MB, free: 6.188 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.195/1.195, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1496/0.1496, allocations: 8.077 MB / 298.7 MB, free: 2.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009944/0.0009944, allocations: 59.91 kB / 361 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08463/0.08564, allocations: 51.52 MB / 412.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002435/0.08811, allocations: 1.726 MB / 414.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.08984, allocations: 1.555 MB / 415.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.08991, allocations: 4 kB / 415.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.09023, allocations: 111.6 kB / 415.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.09047, allocations: 119.3 kB / 416.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.09183, allocations: 0.8871 MB / 416.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.09208, allocations: 258.6 kB / 417.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.09222, allocations: 72.59 kB / 417.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.09231, allocations: 103.6 kB / 417.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.09247, allocations: 139.4 kB / 417.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.09251, allocations: 16 kB / 417.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.0928, allocations: 199.8 kB / 417.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.09285, allocations: 47.77 kB / 417.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.09295, allocations: 119.4 kB / 417.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.09333, allocations: 403.1 kB / 418.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.09335, allocations: 4 kB / 418.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.09335, allocations: 0 / 418.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.09336, allocations: 0 / 418.3 MB, free: 4.414 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.002235/0.0956, allocations: 0.854 MB / 419.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.09564, allocations: 12.03 kB / 419.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.738e-05/0.09571, allocations: 28.66 kB / 419.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.09597, allocations: 256.7 kB / 419.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.09599, allocations: 16.81 kB / 419.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.09603, allocations: 20.38 kB / 419.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.09644, allocations: 291.7 kB / 419.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.09646, allocations: 4.188 kB / 419.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.09649, allocations: 11.94 kB / 419.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.0965, allocations: 8 kB / 419.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.09687, allocations: 281.6 kB / 420 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.09814, allocations: 1.043 MB / 421.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000848/0.099, allocations: 462 kB / 421.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.09923, allocations: 173.3 kB / 421.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.09929, allocations: 19.97 kB / 421.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.09931, allocations: 42.5 kB / 421.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.262e-06/0.09932, allocations: 0 / 421.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002636/0.102, allocations: 0.9562 MB / 422.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.102, allocations: 55.41 kB / 422.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.1022, allocations: 216.8 kB / 423 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1022, allocations: 33.7 kB / 423 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.1023, allocations: 140.6 kB / 423.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.1024, allocations: 102.6 kB / 423.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1025, allocations: 77.58 kB / 423.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.1026, allocations: 330.8 kB / 423.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.1028, allocations: 172 kB / 423.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.1031, allocations: 183.9 kB / 424 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.1036, allocations: 388.5 kB / 424.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1036, allocations: 0 / 424.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001272/0.1048, allocations: 0.6586 MB / 425 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1049, allocations: 7.938 kB / 425 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1049, allocations: 0 / 425 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009743/0.1059, allocations: 248.6 kB / 425.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.1061, allocations: 51.92 kB / 425.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.1091, allocations: 2.506 MB / 427.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.1093, allocations: 35.67 kB / 427.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.1094, allocations: 16 kB / 427.9 MB, free: 10.34 MB / 366.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.0001288/0.1095, allocations: 145.7 kB / 428 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.1096, allocations: 19.72 kB / 428.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.1108, allocations: 0.6146 MB / 428.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1108, allocations: 4 kB / 428.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1108, allocations: 3.938 kB / 428.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1108, allocations: 3.984 kB / 428.7 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.1124, allocations: 1.049 MB / 429.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1124, allocations: 0 / 429.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1125, allocations: 35.92 kB / 429.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009203/0.1134, allocations: 236.6 kB / 430 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.1135, allocations: 8 kB / 430 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.1163, allocations: 2.469 MB / 432.5 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1163, allocations: 3.984 kB / 432.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.1175, allocations: 0.6526 MB / 433.1 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.1175, allocations: 112.7 kB / 433.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.1176, allocations: 7.938 kB / 433.3 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.1178, allocations: 16.05 kB / 433.3 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.1178, allocations: 31.89 kB / 433.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.1179, allocations: 8 kB / 433.3 MB, free: 4.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.118, allocations: 170.8 kB / 433.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.883e-06/0.118, allocations: 112 / 433.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.1184, allocations: 119.8 kB / 433.6 MB, free: 4.395 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.0001557/0.1186, allocations: 111.5 kB / 433.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.1197, allocations: 0.6038 MB / 434.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1197, allocations: 4 kB / 434.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007213/0.1204, allocations: 398.4 kB / 434.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.1207, allocations: 23.98 kB / 434.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.1216, allocations: 0.6016 MB / 435.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.1218, allocations: 0.7488 MB / 436.1 MB, free: 1.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.1219, allocations: 29.92 kB / 436.1 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.122, allocations: 31.42 kB / 436.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.122, allocations: 0 / 436.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of Templates: time 0.1434/0.2654, allocations: 6.009 MB / 442.1 MB, free: 56.53 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)