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/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.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.004169/0.004169, allocations: 89 kB / 15.91 MB, free: 6.301 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.001089/0.001089, allocations: 198.2 kB / 16.83 MB, free: 6.234 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.206/1.206, allocations: 222.9 MB / 240.5 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1362/0.1362, allocations: 8.089 MB / 298.7 MB, free: 2.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 59.91 kB / 361 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08861/0.08962, allocations: 51.52 MB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.003724/0.0934, allocations: 1.775 MB / 414.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.09579, allocations: 1.333 MB / 415.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.09598, allocations: 4 kB / 415.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.0964, allocations: 91.66 kB / 415.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.09679, allocations: 75.52 kB / 415.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.09795, allocations: 438.1 kB / 416.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.09826, allocations: 207 kB / 416.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.09849, allocations: 99 kB / 416.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.09865, allocations: 95.58 kB / 416.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.09896, allocations: 147.4 kB / 416.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.09903, allocations: 16 kB / 416.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.09935, allocations: 111.9 kB / 416.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.09942, allocations: 47.83 kB / 417 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.09964, allocations: 119.3 kB / 417.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.1002, allocations: 319.3 kB / 417.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1002, allocations: 4 kB / 417.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.1002, allocations: 3.984 kB / 417.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1002, allocations: 3.938 kB / 417.4 MB, free: 5.301 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.00224/0.1025, allocations: 0.6631 MB / 418.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1025, allocations: 8.031 kB / 418.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1026, allocations: 24.66 kB / 418.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.103, allocations: 214.3 kB / 418.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.103, allocations: 12.94 kB / 418.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.1031, allocations: 28.38 kB / 418.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.1037, allocations: 292 kB / 418.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1037, allocations: 192 / 418.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.1038, allocations: 15.94 kB / 418.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.1038, allocations: 8 kB / 418.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.1044, allocations: 241.3 kB / 418.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.1061, allocations: 0.9683 MB / 419.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1072, allocations: 362.4 kB / 420.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.1073, allocations: 89.7 kB / 420.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/0.1074, allocations: 8.172 kB / 420.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.1075, allocations: 42.5 kB / 420.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.304e-06/0.1075, allocations: 0 / 420.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001443/0.1089, allocations: 0.5208 MB / 420.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.109, allocations: 81.11 kB / 420.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.1092, allocations: 186.6 kB / 421.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1093, allocations: 33.7 kB / 421.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.1094, allocations: 155.9 kB / 421.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.1094, allocations: 74.98 kB / 421.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.1095, allocations: 53.59 kB / 421.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.1096, allocations: 326.8 kB / 421.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1097, allocations: 83.97 kB / 421.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.1099, allocations: 131.4 kB / 422 MB, free: 404 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.1102, allocations: 213.5 kB / 422.2 MB, free: 180 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1102, allocations: 3.938 kB / 422.2 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005938/0.1108, allocations: 334.9 kB / 422.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1108, allocations: 4.375 kB / 422.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1108, allocations: 64 / 422.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.1112, allocations: 81.66 kB / 422.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.1114, allocations: 43.91 kB / 422.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.1135, allocations: 2.686 MB / 425.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.1136, allocations: 23.75 kB / 425.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.1137, allocations: 12 kB / 425.3 MB, free: 12.71 MB / 366.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.0001213/0.1138, allocations: 142 kB / 425.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.1139, allocations: 19.75 kB / 425.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/0.1144, allocations: 285 kB / 425.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1145, allocations: 8 kB / 425.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1145, allocations: 0 / 425.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1145, allocations: 4 kB / 425.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007278/0.1152, allocations: 0.5575 MB / 426.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1152, allocations: 0 / 426.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1153, allocations: 24 kB / 426.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002884/0.1156, allocations: 85.58 kB / 426.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1157, allocations: 0 / 426.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.1176, allocations: 2.678 MB / 429.1 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1176, allocations: 0 / 429.1 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.1182, allocations: 430.5 kB / 429.6 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.1183, allocations: 96.92 kB / 429.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1183, allocations: 3.984 kB / 429.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.1185, allocations: 23.97 kB / 429.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.1186, allocations: 15.98 kB / 429.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1186, allocations: 4 kB / 429.7 MB, free: 7.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.1187, allocations: 159.7 kB / 429.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1187, allocations: 0 / 429.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003948/0.1191, allocations: 71.84 kB / 429.9 MB, free: 7.734 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.0001773/0.1193, allocations: 123.1 kB / 430 MB, free: 7.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007172/0.1201, allocations: 455.5 kB / 430.5 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1201, allocations: 0 / 430.5 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.1205, allocations: 349.2 kB / 430.8 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.1209, allocations: 23.92 kB / 430.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.1216, allocations: 0.5037 MB / 431.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1219, allocations: 0.7363 MB / 432.1 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.122, allocations: 37.52 kB / 432.1 MB, free: 5.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.1221, allocations: 23.44 kB / 432.2 MB, free: 5.391 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1221, allocations: 0 / 432.2 MB, free: 5.391 MB / 366.1 MB Notification: Performance of Templates: time 0.005705/0.1278, allocations: 2.96 MB / 435.1 MB, free: 2.453 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)