Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.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.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 110.4 kB / 17.13 MB, free: 5.934 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.0009663/0.0009663, allocations: 190.1 kB / 18.06 MB, free: 5.023 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.325/1.325, allocations: 222.9 MB / 241.8 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0467/0.0467, allocations: 8.096 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08687/0.0881, allocations: 51.52 MB / 466.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.003755/0.09189, allocations: 2.809 MB / 469.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.09335, allocations: 0.8406 MB / 470.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.677e-05/0.09346, allocations: 4 kB / 470.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.09382, allocations: 131.3 kB / 470.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.09416, allocations: 147.1 kB / 470.6 MB, free: 14.2 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo:34:7-34:67:writable] Warning: In relation diesel.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.09581, allocations: 0.9333 MB / 471.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.0962, allocations: 302.6 kB / 471.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.09644, allocations: 126.9 kB / 472 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.09657, allocations: 131.5 kB / 472.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.09685, allocations: 187.3 kB / 472.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.0969, allocations: 28 kB / 472.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.09728, allocations: 211.8 kB / 472.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.09736, allocations: 67.69 kB / 472.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.09751, allocations: 151.2 kB / 472.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005786/0.09809, allocations: 462.6 kB / 473.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.09811, allocations: 4 kB / 473.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.09812, allocations: 4 kB / 473.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.09813, allocations: 3.938 kB / 473.2 MB, free: 11.61 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002139/0.1003, allocations: 0.7878 MB / 474 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1003, allocations: 11.89 kB / 474 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.89e-05/0.1004, allocations: 32.66 kB / 474 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.1007, allocations: 264.6 kB / 474.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/0.1008, allocations: 80.53 kB / 474.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.1009, allocations: 28.31 kB / 474.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.1015, allocations: 349.4 kB / 474.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1015, allocations: 3.938 kB / 474.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.1015, allocations: 11.94 kB / 474.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1015, allocations: 8 kB / 474.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.102, allocations: 330.1 kB / 475.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.1037, allocations: 1.319 MB / 476.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.1047, allocations: 0.5513 MB / 476.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.105, allocations: 216.6 kB / 477.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.404e-05/0.1051, allocations: 11.98 kB / 477.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004638/0.1055, allocations: 275.1 kB / 477.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.494e-06/0.1056, allocations: 0 / 477.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003006/0.1086, allocations: 1.062 MB / 478.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.1086, allocations: 59.39 kB / 478.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.1088, allocations: 190.7 kB / 478.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.1089, allocations: 33.7 kB / 478.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.1089, allocations: 140.5 kB / 478.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1091, allocations: 149.8 kB / 479.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1092, allocations: 74.12 kB / 479.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1093, allocations: 338.8 kB / 479.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.1096, allocations: 176.8 kB / 479.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.1099, allocations: 223.3 kB / 479.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.1105, allocations: 407 kB / 480.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1105, allocations: 3.938 kB / 480.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001548/0.1121, allocations: 0.6993 MB / 481 MB, free: 3.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1121, allocations: 4 kB / 481 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1121, allocations: 0 / 481 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.1133, allocations: 316.5 kB / 481.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.1136, allocations: 59.91 kB / 481.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/0.1175, allocations: 2.955 MB / 484.3 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.1178, allocations: 27.8 kB / 484.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.1178, allocations: 15.94 kB / 484.3 MB, free: 15.97 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.118, allocations: 153.8 kB / 484.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.1181, allocations: 27.78 kB / 484.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.1198, allocations: 0.734 MB / 485.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1198, allocations: 3.984 kB / 485.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1198, allocations: 0 / 485.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.1199, allocations: 108.6 kB / 485.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.12, allocations: 15.92 kB / 485.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.1202, allocations: 16 kB / 485.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.1203, allocations: 52.34 kB / 485.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001373/0.1217, allocations: 0.6487 MB / 486.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001009/0.1227, allocations: 0.7676 MB / 486.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002823/0.123, allocations: 183.4 kB / 487 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1232, allocations: 148 kB / 487.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Backend: time 6.22e-07/0.1232, allocations: 0 / 487.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.1249, allocations: 0.7126 MB / 487.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 0.001253/0.1262, allocations: 1.06 MB / 488.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01337/0.1396, allocations: 7.831 MB / 496.8 MB, free: 3.398 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe 2>&1)