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.001027/0.001027, allocations: 119.2 kB / 17.13 MB, free: 5.914 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.0009942/0.0009943, allocations: 190.3 kB / 18.06 MB, free: 4.996 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.313/1.313, allocations: 222.9 MB / 241.7 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.04812/0.04812, allocations: 8.094 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001192, allocations: 67.89 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0819/0.08311, allocations: 51.52 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002779/0.08592, allocations: 1.778 MB / 468.4 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.08771, allocations: 1.469 MB / 469.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.0878, allocations: 7.938 kB / 469.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.08813, allocations: 131.3 kB / 470.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.08838, allocations: 99.31 kB / 470.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.08993, allocations: 0.9257 MB / 471.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.09023, allocations: 238.8 kB / 471.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.09042, allocations: 123.7 kB / 471.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.09052, allocations: 103.6 kB / 471.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.09072, allocations: 151.5 kB / 471.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.09076, allocations: 20 kB / 471.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.09109, allocations: 211.8 kB / 471.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.09114, allocations: 51.83 kB / 472 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.471e-05/0.09124, allocations: 119.4 kB / 472.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.09169, allocations: 406.8 kB / 472.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.0917, allocations: 0 / 472.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09171, allocations: 0 / 472.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.09172, allocations: 0 / 472.5 MB, free: 12.32 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.002093/0.09382, allocations: 0.7646 MB / 473.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.09387, allocations: 11.89 kB / 473.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.09394, allocations: 24.66 kB / 473.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.09416, allocations: 247.9 kB / 473.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.09419, allocations: 20.94 kB / 473.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.09423, allocations: 24.38 kB / 473.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.09469, allocations: 297.4 kB / 473.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.09471, allocations: 3.938 kB / 473.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.09474, allocations: 8 kB / 473.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.09475, allocations: 8 kB / 473.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.09521, allocations: 306 kB / 474.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.09649, allocations: 0.8812 MB / 475 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.09698, allocations: 286.5 kB / 475.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.09717, allocations: 129.3 kB / 475.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.09722, allocations: 7.938 kB / 475.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.09725, allocations: 38.56 kB / 475.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.655e-06/0.09725, allocations: 0 / 475.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001156/0.09841, allocations: 0.5195 MB / 476 MB, free: 8.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.09845, allocations: 55.41 kB / 476.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.09859, allocations: 164.8 kB / 476.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.09863, allocations: 29.7 kB / 476.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.09871, allocations: 156.2 kB / 476.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.09877, allocations: 86.73 kB / 476.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.09887, allocations: 69.67 kB / 476.6 MB, free: 8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.09897, allocations: 322.8 kB / 476.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.09917, allocations: 128 kB / 477 MB, free: 7.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.09935, allocations: 131.9 kB / 477.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.09974, allocations: 293.1 kB / 477.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.09975, 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.0006505/0.1004, allocations: 402.1 kB / 477.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1004, allocations: 8 kB / 477.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1004, allocations: 0 / 477.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.1007, allocations: 52.77 kB / 477.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.101, allocations: 55.95 kB / 477.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.1023, allocations: 1.554 MB / 479.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.1025, allocations: 19.78 kB / 479.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.1025, allocations: 8 kB / 479.5 MB, free: 4.891 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.000124/0.1027, allocations: 141.7 kB / 479.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.1027, allocations: 19.75 kB / 479.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006391/0.1034, allocations: 347.8 kB / 480 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1034, allocations: 4 kB / 480 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.1034, allocations: 0 / 480 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1034, allocations: 0 / 480 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.1037, allocations: 361.2 kB / 480.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1037, allocations: 0 / 480.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.1039, allocations: 47.91 kB / 480.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.1041, allocations: 48.83 kB / 480.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1042, allocations: 8 kB / 480.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.1054, allocations: 1.539 MB / 482 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.1054, allocations: 7.969 kB / 482 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.106, allocations: 401.8 kB / 482.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.106, allocations: 92.86 kB / 482.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.1061, allocations: 7.938 kB / 482.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1062, allocations: 8 kB / 482.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.1063, allocations: 19.91 kB / 482.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1063, allocations: 8 kB / 482.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.069e-05/0.1064, allocations: 132.8 kB / 482.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1064, allocations: 0 / 482.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.1067, allocations: 79.84 kB / 482.7 MB, free: 1.406 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.0001561/0.1069, allocations: 127.2 kB / 482.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007367/0.1077, allocations: 426.3 kB / 483.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1077, allocations: 0 / 483.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.1081, allocations: 258.7 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.0002463/0.1083, 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.0007566/0.1091, allocations: 481.8 kB / 484 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1094, allocations: 0.7396 MB / 484.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.628e-05/0.1095, allocations: 31.42 kB / 484.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1095, allocations: 0 / 484.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of Templates: time 0.005619/0.1151, allocations: 4.11 MB / 488.9 MB, free: 11.15 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)