Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 115.4 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.001032/0.001032, 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.317/1.317, allocations: 222.9 MB / 241.8 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.04709/0.04709, allocations: 8.098 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 415.1 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07801/0.07925, allocations: 51.52 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002827/0.08211, allocations: 1.782 MB / 468.4 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.08403, allocations: 1.465 MB / 469.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.909e-05/0.08414, allocations: 4 kB / 469.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.0845, allocations: 131.3 kB / 470 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.08477, allocations: 99.31 kB / 470.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.08669, allocations: 0.9294 MB / 471.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.08698, allocations: 230.9 kB / 471.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.08718, allocations: 131.7 kB / 471.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.08728, allocations: 103.6 kB / 471.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.08747, allocations: 139.5 kB / 471.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.08752, allocations: 20 kB / 471.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.0879, allocations: 211.8 kB / 471.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.08799, allocations: 51.83 kB / 471.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.08817, allocations: 127.3 kB / 472.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005803/0.08877, allocations: 406.8 kB / 472.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.08878, allocations: 0 / 472.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.0888, allocations: 4 kB / 472.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.08881, allocations: 0 / 472.5 MB, free: 12.33 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002282/0.09109, allocations: 0.7636 MB / 473.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.09114, allocations: 11.89 kB / 473.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.09121, allocations: 28.64 kB / 473.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.09144, allocations: 240 kB / 473.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.09147, allocations: 16.94 kB / 473.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.09154, allocations: 28.38 kB / 473.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.09202, allocations: 305.3 kB / 473.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.09204, allocations: 3.938 kB / 473.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.09207, allocations: 8 kB / 473.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.09208, allocations: 8 kB / 473.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.09258, allocations: 294.1 kB / 474.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.09396, allocations: 0.889 MB / 475 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.09455, allocations: 290.4 kB / 475.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.09475, allocations: 129.2 kB / 475.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.944e-05/0.09482, allocations: 15.92 kB / 475.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.09485, allocations: 38.56 kB / 475.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.09486, allocations: 0 / 475.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001208/0.09607, allocations: 0.5156 MB / 476 MB, free: 8.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.09612, allocations: 63.39 kB / 476.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.09633, allocations: 160.4 kB / 476.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.09637, allocations: 29.7 kB / 476.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.09646, allocations: 156.2 kB / 476.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.09652, allocations: 86.73 kB / 476.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.09663, allocations: 61.69 kB / 476.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.09674, allocations: 326.8 kB / 476.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.09694, allocations: 128 kB / 477 MB, free: 7.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.09714, allocations: 132 kB / 477.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.09753, allocations: 293.1 kB / 477.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.09754, allocations: 3.938 kB / 477.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006551/0.0982, allocations: 402 kB / 477.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.09822, allocations: 4 kB / 477.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.09823, allocations: 4 kB / 477.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002652/0.0985, allocations: 52.81 kB / 477.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.0988, allocations: 59.91 kB / 477.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.1001, allocations: 1.543 MB / 479.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.1003, allocations: 23.75 kB / 479.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.1003, allocations: 8 kB / 479.5 MB, free: 4.895 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 (35): * Single equations (assignments): 34 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.1005, allocations: 149.8 kB / 479.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.1005, allocations: 19.75 kB / 479.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/0.1011, allocations: 339.8 kB / 480 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1012, allocations: 4 kB / 480 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1012, allocations: 3.984 kB / 480 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1012, allocations: 0 / 480 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.1015, allocations: 357.2 kB / 480.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1015, allocations: 4 kB / 480.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.1017, allocations: 47.92 kB / 480.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.1019, allocations: 48.81 kB / 480.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.102, allocations: 4 kB / 480.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.1032, allocations: 1.531 MB / 482 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1032, allocations: 4.094 kB / 482 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.1038, allocations: 405.7 kB / 482.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.1038, allocations: 100.8 kB / 482.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1039, allocations: 15.92 kB / 482.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.104, allocations: 4 kB / 482.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.1041, allocations: 15.98 kB / 482.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1041, allocations: 12 kB / 482.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.994e-05/0.1042, allocations: 127.2 kB / 482.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1042, allocations: 4 kB / 482.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.1046, allocations: 83.83 kB / 482.8 MB, free: 1.402 MB / 350.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 (25): * Single equations (assignments): 24 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001576/0.1047, allocations: 123.2 kB / 482.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000748/0.1055, allocations: 426.3 kB / 483.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1055, allocations: 0 / 483.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004225/0.1059, allocations: 258.8 kB / 483.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.1062, allocations: 12 kB / 483.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/0.107, allocations: 485.8 kB / 484 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.1073, allocations: 0.7435 MB / 484.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.46e-05/0.1074, allocations: 27.38 kB / 484.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1074, allocations: 0 / 484.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of Templates: time 0.005584/0.113, allocations: 4.139 MB / 488.9 MB, free: 11.12 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)