Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",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.0011/0.0011, allocations: 191.4 kB / 7.845 MB, free: 2.496 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.21/1.21, allocations: 221.4 MB / 229.6 MB, free: 3.016 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.0009086/0.0009086, allocations: 102.8 kB / 280.5 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04164/0.04164, allocations: 8.098 MB / 339.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1949/0.2366, allocations: 58.63 MB / 398 MB, free: 67.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07951/0.3161, allocations: 52.52 MB / 450.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/0.5772, allocations: 81.17 MB / 0.5192 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.5774, allocations: 68.97 kB / 0.5193 GB, free: 12.91 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.05321/0.6307, allocations: 20.14 MB / 0.539 GB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.6307, allocations: 11.94 kB / 0.539 GB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.6309, allocations: 71.16 kB / 0.539 GB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.6316, allocations: 431.9 kB / 0.5395 GB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.6316, allocations: 21 kB / 0.5395 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.6317, allocations: 32 kB / 0.5395 GB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001096/0.6328, allocations: 0.6472 MB / 0.5401 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.6341, allocations: 0.6761 MB / 0.5408 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.6341, allocations: 0 / 0.5408 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.199e-05/0.6342, allocations: 3.938 kB / 0.5408 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.6343, allocations: 12 kB / 0.5408 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00484/0.6391, allocations: 3.094 MB / 0.5438 GB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.6401, allocations: 0.6834 MB / 0.5445 GB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/0.6407, allocations: 432.7 kB / 0.5449 GB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.6409, allocations: 101.1 kB / 0.545 GB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6409, allocations: 41.53 kB / 0.545 GB, free: 8.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.895e-06/0.641, allocations: 0 / 0.545 GB, free: 8.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.005766/0.6467, allocations: 1.691 MB / 0.5467 GB, free: 7.078 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.6468, allocations: 111.5 kB / 0.5468 GB, free: 6.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.6472, allocations: 293.9 kB / 0.5471 GB, free: 6.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.508e-05/0.6473, allocations: 29.7 kB / 0.5471 GB, free: 6.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.6474, allocations: 183.9 kB / 0.5473 GB, free: 6.512 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.6476, allocations: 230.5 kB / 0.5475 GB, free: 6.309 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.6476, allocations: 4 kB / 0.5475 GB, free: 6.305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6478, allocations: 361.5 kB / 0.5479 GB, free: 5.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/0.6483, allocations: 353.2 kB / 0.5482 GB, free: 5.785 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.6488, allocations: 390.7 kB / 0.5486 GB, free: 5.566 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.65, allocations: 442.4 kB / 0.549 GB, free: 5.309 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.65, allocations: 0 / 0.549 GB, free: 5.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00595/0.6559, allocations: 1.739 MB / 0.5507 GB, free: 3.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.656, allocations: 11.91 kB / 0.5507 GB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.656, allocations: 0 / 0.5507 GB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/0.6615, allocations: 1.09 MB / 0.5518 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.6619, allocations: 91.81 kB / 0.5519 GB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.6723, allocations: 4.922 MB / 0.5567 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/0.673, allocations: 35.53 kB / 0.5567 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.6731, allocations: 23.98 kB / 0.5567 GB, free: 13.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {10 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002724/0.6734, allocations: 112.9 kB / 0.5568 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.6736, allocations: 63.33 kB / 0.5569 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006044/0.6797, allocations: 1.871 MB / 0.5587 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.6797, allocations: 12 kB / 0.5587 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.6797, allocations: 0 / 0.5587 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.6797, allocations: 3.984 kB / 0.5587 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.6809, allocations: 0.8258 MB / 0.5595 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6809, allocations: 3.938 kB / 0.5595 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.6813, allocations: 87.89 kB / 0.5596 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005369/0.6867, allocations: 1.094 MB / 0.5607 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/0.6868, allocations: 7.984 kB / 0.5607 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/0.6969, allocations: 4.914 MB / 0.5655 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.6969, allocations: 192 / 0.5655 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005763/0.7027, allocations: 1.851 MB / 0.5673 GB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005756/0.7085, allocations: 2.218 MB / 0.5695 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.7087, allocations: 144.2 kB / 0.5696 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.7088, allocations: 4 kB / 0.5696 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006006/0.7094, allocations: 31.97 kB / 0.5696 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.7095, allocations: 52.7 kB / 0.5697 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.7096, allocations: 20 kB / 0.5697 GB, free: 15.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002824/0.7099, allocations: 235.2 kB / 0.5699 GB, free: 15.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001528/0.7114, allocations: 235.8 kB / 0.5702 GB, free: 15.3 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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 {10 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002802/0.7117, allocations: 119.1 kB / 0.5703 GB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003262/0.715, allocations: 1.231 MB / 0.5715 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.715, allocations: 4 kB / 0.5715 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.7175, allocations: 0.8428 MB / 0.5723 GB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.7179, allocations: 49.39 kB / 0.5723 GB, free: 13.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.7199, allocations: 0.7527 MB / 0.5731 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/0.7205, allocations: 0.9429 MB / 0.574 GB, free: 11.28 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7205, allocations: 0 / 0.574 GB, free: 11.28 MB / 394.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)