Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001036, allocations: 114.6 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.0009999/0.001, allocations: 198.9 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.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04582/0.04582, allocations: 8.097 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.91 kB / 415.1 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08109/0.08231, allocations: 51.53 MB / 466.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.0032/0.08555, allocations: 1.735 MB / 468.4 MB, free: 452 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.08741, allocations: 1.333 MB / 469.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.08759, allocations: 4 kB / 469.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.08794, allocations: 99.42 kB / 469.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.08829, allocations: 99.31 kB / 469.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009625/0.08926, allocations: 466 kB / 470.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.08957, allocations: 218.9 kB / 470.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.08977, allocations: 118.4 kB / 470.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.08991, allocations: 103.6 kB / 470.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.09016, allocations: 151.4 kB / 471 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.09022, allocations: 20 kB / 471 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.0905, allocations: 116 kB / 471.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.09056, allocations: 55.77 kB / 471.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.09068, allocations: 115.4 kB / 471.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.09111, allocations: 334.9 kB / 471.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09113, allocations: 0 / 471.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09113, allocations: 0 / 471.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.09115, allocations: 4 kB / 471.6 MB, free: 13.23 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00176/0.09291, allocations: 0.6514 MB / 472.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.09296, allocations: 15.89 kB / 472.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.09304, allocations: 28.59 kB / 472.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.09327, allocations: 210.7 kB / 472.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.0933, allocations: 20.94 kB / 472.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.09334, allocations: 20.38 kB / 472.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/0.0938, allocations: 296 kB / 472.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.09382, allocations: 192 / 472.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.09386, allocations: 15.94 kB / 472.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.09387, allocations: 4 kB / 472.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.09423, allocations: 241.3 kB / 473.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.09566, allocations: 0.9605 MB / 474 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/0.09643, allocations: 374.4 kB / 474.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.09658, allocations: 89.69 kB / 474.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.09664, allocations: 4 kB / 474.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.09667, allocations: 46.69 kB / 474.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.844e-06/0.09668, allocations: 0 / 474.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001166/0.09785, allocations: 0.5208 MB / 475.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.09791, allocations: 89.05 kB / 475.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.09814, allocations: 194.6 kB / 475.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.09817, allocations: 25.7 kB / 475.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.09827, allocations: 155.9 kB / 475.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.09833, allocations: 74.98 kB / 475.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.114e-05/0.09841, allocations: 49.69 kB / 475.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.09852, allocations: 322.8 kB / 476 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.09867, allocations: 87.97 kB / 476 MB, free: 8.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.09883, allocations: 131.4 kB / 476.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.09912, allocations: 207.3 kB / 476.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.09913, allocations: 4 kB / 476.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006146/0.09975, allocations: 338.9 kB / 476.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.09977, allocations: 4 kB / 476.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.09979, allocations: 4 kB / 476.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003849/0.1002, allocations: 69.66 kB / 476.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.1004, allocations: 51.91 kB / 476.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.1026, allocations: 2.883 MB / 479.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.1028, allocations: 27.72 kB / 479.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.1028, allocations: 8 kB / 479.8 MB, free: 4.418 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.1029, allocations: 137.9 kB / 479.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.103, allocations: 19.8 kB / 479.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005998/0.1036, allocations: 300.9 kB / 480.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1036, allocations: 4 kB / 480.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1036, allocations: 0 / 480.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1037, allocations: 0 / 480.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.1044, allocations: 0.5541 MB / 480.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1044, allocations: 4.094 kB / 480.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1045, allocations: 31.92 kB / 480.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000298/0.1048, allocations: 77.64 kB / 480.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1049, allocations: 8 kB / 480.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.1069, allocations: 2.879 MB / 483.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1069, allocations: 0 / 483.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.1075, allocations: 428.2 kB / 484.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.1076, allocations: 100.8 kB / 484.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1076, allocations: 4 kB / 484.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.1078, allocations: 19.92 kB / 484.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.1079, allocations: 11.98 kB / 484.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.1079, allocations: 8 kB / 484.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1081, allocations: 156.2 kB / 484.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1081, allocations: 0 / 484.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000411/0.1085, allocations: 71.84 kB / 484.5 MB, free: 15.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0001592/0.1086, allocations: 115.2 kB / 484.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007458/0.1094, allocations: 457.1 kB / 485.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.1094, allocations: 0 / 485.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.1099, allocations: 341.4 kB / 485.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.1103, allocations: 23.98 kB / 485.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007104/0.111, allocations: 456.2 kB / 485.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1113, allocations: 0.7402 MB / 486.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.1114, allocations: 23.44 kB / 486.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1114, allocations: 0 / 486.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.006877/0.1183, allocations: 4.941 MB / 491.6 MB, free: 8.035 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)