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.001268/0.001268, allocations: 113.7 kB / 17.13 MB, free: 5.965 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.001801/0.001801, allocations: 190.3 kB / 18.06 MB, free: 5.043 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.336/1.336, allocations: 222.9 MB / 241.8 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.05027/0.05027, allocations: 8.097 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.08801, allocations: 51.51 MB / 466.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002834/0.09089, allocations: 1.743 MB / 468.4 MB, free: 432 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.09275, allocations: 1.329 MB / 469.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.09291, allocations: 4 kB / 469.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.09328, allocations: 99.42 kB / 469.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.09362, allocations: 99.31 kB / 469.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009759/0.09461, allocations: 454.1 kB / 470.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.09492, allocations: 218.9 kB / 470.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.09513, allocations: 126.4 kB / 470.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.09527, allocations: 103.6 kB / 470.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.09555, allocations: 147.5 kB / 471 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.09561, allocations: 20 kB / 471 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.0959, allocations: 127.8 kB / 471.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.09596, allocations: 51.78 kB / 471.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.09608, allocations: 111.5 kB / 471.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.09651, allocations: 334.9 kB / 471.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09652, allocations: 0 / 471.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09653, allocations: 4 kB / 471.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.09654, allocations: 0 / 471.6 MB, free: 13.22 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.001826/0.09838, allocations: 0.6592 MB / 472.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.09842, allocations: 8.031 kB / 472.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.843e-05/0.09852, allocations: 24.66 kB / 472.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.09874, allocations: 222.8 kB / 472.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.09877, allocations: 16.94 kB / 472.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.09881, allocations: 20.38 kB / 472.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.09927, allocations: 292.1 kB / 472.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.09929, allocations: 192 / 472.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.09933, allocations: 15.94 kB / 472.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.09934, allocations: 4 kB / 472.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.0997, allocations: 245.2 kB / 473.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.1012, allocations: 0.9566 MB / 474 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.102, allocations: 370.6 kB / 474.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.1022, allocations: 89.69 kB / 474.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.1022, allocations: 7.984 kB / 474.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1022, allocations: 38.56 kB / 474.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.1022, allocations: 4 kB / 474.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00119/0.1034, allocations: 0.5168 MB / 475.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.1035, allocations: 85.11 kB / 475.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.1038, allocations: 190.6 kB / 475.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1038, allocations: 29.7 kB / 475.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1039, allocations: 159.9 kB / 475.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.104, allocations: 67 kB / 475.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.1041, allocations: 53.69 kB / 475.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1042, allocations: 327.1 kB / 476 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1043, allocations: 87.97 kB / 476 MB, free: 8.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1045, allocations: 127.4 kB / 476.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.1048, allocations: 219.3 kB / 476.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1048, allocations: 7.875 kB / 476.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006543/0.1055, allocations: 339.3 kB / 476.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1055, allocations: 4 kB / 476.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1055, allocations: 4 kB / 476.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.1059, allocations: 73.72 kB / 476.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.1061, allocations: 47.91 kB / 476.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.1084, allocations: 2.871 MB / 479.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.1086, allocations: 31.7 kB / 479.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1087, allocations: 8 kB / 479.8 MB, free: 4.41 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.0001467/0.1088, allocations: 141.9 kB / 479.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.1089, allocations: 15.81 kB / 479.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006425/0.1096, allocations: 300.4 kB / 480.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1096, allocations: 4 kB / 480.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1096, allocations: 3.984 kB / 480.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1096, allocations: 0 / 480.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.1104, allocations: 0.5498 MB / 480.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1104, allocations: 4 kB / 480.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1105, allocations: 27.92 kB / 480.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/0.1108, allocations: 77.66 kB / 480.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1109, allocations: 4 kB / 480.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.1131, allocations: 2.883 MB / 483.8 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1131, allocations: 0 / 483.8 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.1137, allocations: 432.2 kB / 484.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.1138, allocations: 96.86 kB / 484.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.1138, allocations: 7.984 kB / 484.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.1141, allocations: 19.92 kB / 484.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1141, allocations: 11.98 kB / 484.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1141, allocations: 12 kB / 484.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.1143, allocations: 152.4 kB / 484.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1143, allocations: 0 / 484.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.1148, allocations: 75.78 kB / 484.5 MB, free: 15.21 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.000202/0.115, allocations: 130.1 kB / 484.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007914/0.1158, allocations: 449.2 kB / 485.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1158, allocations: 0 / 485.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.1163, allocations: 333.4 kB / 485.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.1167, allocations: 31.27 kB / 485.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007551/0.1175, allocations: 453.4 kB / 485.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1178, allocations: 0.7363 MB / 486.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.728e-05/0.1179, allocations: 23.44 kB / 486.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of SimCode: time 5.1e-07/0.1179, allocations: 4 kB / 486.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of Templates: time 0.007217/0.1251, allocations: 4.961 MB / 491.6 MB, free: 8.004 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)