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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoad",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 184.3 kB / 7.84 MB, free: 2.473 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 221.4 MB / 229.7 MB, free: 3.078 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009266, allocations: 103.7 kB / 280.5 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03762/0.03762, allocations: 8.106 MB / 339.4 MB, free: 6.375 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1791/0.2168, allocations: 58.62 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08178/0.2985, allocations: 52.52 MB / 450.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2643/0.5629, allocations: 80.57 MB / 0.5186 GB, free: 13.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.5631, allocations: 69.03 kB / 0.5187 GB, free: 13.55 MB / 346.7 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.02615/0.5893, allocations: 9.713 MB / 0.5282 GB, free: 5.941 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5893, allocations: 11.94 kB / 0.5282 GB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.5895, allocations: 40.38 kB / 0.5282 GB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.5899, allocations: 257.2 kB / 0.5285 GB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/0.59, allocations: 72.05 kB / 0.5286 GB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.59, allocations: 20 kB / 0.5286 GB, free: 5.535 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004959/0.5905, allocations: 308 kB / 0.5289 GB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.5911, allocations: 302.8 kB / 0.5292 GB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.5911, allocations: 3.984 kB / 0.5292 GB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.5911, allocations: 3.906 kB / 0.5292 GB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.5911, allocations: 4 kB / 0.5292 GB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.5931, allocations: 1.338 MB / 0.5305 GB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.5936, allocations: 361.3 kB / 0.5308 GB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.5938, allocations: 195.6 kB / 0.531 GB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-05/0.5939, allocations: 11.98 kB / 0.531 GB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.5943, allocations: 242.8 kB / 0.5312 GB, free: 3.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 2.054e-06/0.5943, allocations: 3.938 kB / 0.5313 GB, free: 3.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.001748/0.596, allocations: 0.6125 MB / 0.5319 GB, free: 3.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.5961, allocations: 55.41 kB / 0.5319 GB, free: 2.969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.5963, allocations: 158.9 kB / 0.5321 GB, free: 2.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.5963, allocations: 25.7 kB / 0.5321 GB, free: 2.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.5964, allocations: 139.3 kB / 0.5322 GB, free: 2.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.5965, allocations: 139.2 kB / 0.5323 GB, free: 2.539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.5965, allocations: 0 / 0.5323 GB, free: 2.539 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5967, allocations: 326.6 kB / 0.5327 GB, free: 2.219 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.5969, allocations: 156 kB / 0.5328 GB, free: 2.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.5972, allocations: 193 kB / 0.533 GB, free: 2.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.5978, allocations: 205.3 kB / 0.5332 GB, free: 1.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5978, allocations: 0 / 0.5332 GB, free: 1.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00174/0.5995, allocations: 0.6544 MB / 0.5338 GB, free: 1.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5996, allocations: 15.27 kB / 0.5338 GB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.5996, allocations: 0 / 0.5338 GB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.6008, allocations: 279.1 kB / 0.5341 GB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.6011, allocations: 55.09 kB / 0.5342 GB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/0.6048, allocations: 2.462 MB / 0.5366 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.6051, allocations: 15.89 kB / 0.5366 GB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.6051, allocations: 23.86 kB / 0.5366 GB, free: 15.06 MB / 362.7 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,brk2.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.6053, allocations: 104.9 kB / 0.5367 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.6053, allocations: 27.72 kB / 0.5367 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.6072, allocations: 0.6945 MB / 0.5374 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.6072, allocations: 4 kB / 0.5374 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6072, allocations: 8 kB / 0.5374 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.6072, allocations: 3.984 kB / 0.5374 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.6077, allocations: 452.9 kB / 0.5379 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6078, allocations: 0 / 0.5379 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.608, allocations: 55.89 kB / 0.5379 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.6091, allocations: 274.5 kB / 0.5382 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.6091, allocations: 0 / 0.5382 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/0.6127, allocations: 2.469 MB / 0.5406 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6128, allocations: 0 / 0.5406 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00169/0.6145, allocations: 0.6565 MB / 0.5412 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001775/0.6162, allocations: 1.037 MB / 0.5422 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.6164, allocations: 108.7 kB / 0.5423 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.6164, allocations: 7.938 kB / 0.5423 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.6167, allocations: 15.98 kB / 0.5424 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.6167, allocations: 27.7 kB / 0.5424 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.6168, allocations: 14.25 kB / 0.5424 GB, free: 10.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001099/0.6169, allocations: 130.3 kB / 0.5425 GB, free: 10.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000999/0.6179, allocations: 115.3 kB / 0.5426 GB, free: 9.945 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,brk2.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002103/0.6181, allocations: 114.4 kB / 0.5427 GB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.6193, allocations: 0.5891 MB / 0.5433 GB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6194, allocations: 0 / 0.5433 GB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008464/0.6202, allocations: 431.8 kB / 0.5437 GB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.6204, allocations: 16.78 kB / 0.5437 GB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.6214, allocations: 370.4 kB / 0.5441 GB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004083/0.6218, allocations: 0.8009 MB / 0.5449 GB, free: 7.91 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.6218, allocations: 0 / 0.5449 GB, free: 7.91 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoad_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe 2>&1)