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: translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") [: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.001007/0.001007, allocations: 188.2 kB / 7.842 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.385/1.385, allocations: 221.4 MB / 229.7 MB, free: 3.062 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.0009268/0.0009268, allocations: 97.59 kB / 280.5 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05129/0.05129, allocations: 8.093 MB / 339.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.097e-05/1.1e-05, allocations: 4 kB / 397.9 MB, free: 68.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1383, allocations: 52.52 MB / 450.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4136/0.552, allocations: 81.16 MB / 0.5191 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.5523, allocations: 68.78 kB / 0.5192 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.07027/0.6225, allocations: 18.91 MB / 0.5377 GB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.72e-05/0.6227, allocations: 12 kB / 0.5377 GB, free: 14.38 MB / 362.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.007027/0.6297, allocations: 1.224 MB / 0.5389 GB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.6298, allocations: 15.97 kB / 0.5389 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/0.6302, allocations: 71.16 kB / 0.5389 GB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.6315, allocations: 440 kB / 0.5394 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.6316, allocations: 19.91 kB / 0.5394 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.6317, allocations: 29.09 kB / 0.5394 GB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001858/0.6336, allocations: 0.6436 MB / 0.54 GB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.6355, allocations: 0.683 MB / 0.5407 GB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.6356, allocations: 0 / 0.5407 GB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.6357, allocations: 4 kB / 0.5407 GB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.6357, allocations: 12 kB / 0.5407 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007828/0.6436, allocations: 3.084 MB / 0.5437 GB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.6451, allocations: 0.6794 MB / 0.5444 GB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009972/0.6462, allocations: 433.5 kB / 0.5448 GB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.6465, allocations: 109.6 kB / 0.5449 GB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.6466, allocations: 42.97 kB / 0.545 GB, free: 8.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 5.29e-06/0.6466, allocations: 0 / 0.545 GB, free: 8.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.009938/0.6566, allocations: 1.689 MB / 0.5466 GB, free: 7.164 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.6567, allocations: 115.5 kB / 0.5467 GB, free: 7.027 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/0.6574, allocations: 294.2 kB / 0.547 GB, free: 6.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.6576, allocations: 25.7 kB / 0.547 GB, free: 6.766 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.6578, allocations: 182.5 kB / 0.5472 GB, free: 6.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.6582, allocations: 231.4 kB / 0.5474 GB, free: 6.395 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.6583, allocations: 4 kB / 0.5474 GB, free: 6.391 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.6585, allocations: 356.8 kB / 0.5478 GB, free: 6.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000795/0.6593, allocations: 354.8 kB / 0.5481 GB, free: 5.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008318/0.6602, allocations: 392.2 kB / 0.5485 GB, free: 5.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.6621, allocations: 440.7 kB / 0.5489 GB, free: 5.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6621, allocations: 0 / 0.5489 GB, free: 5.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.009632/0.6717, allocations: 1.745 MB / 0.5506 GB, free: 3.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.6718, allocations: 11.03 kB / 0.5506 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.6718, allocations: 3.984 kB / 0.5506 GB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009439/0.6813, allocations: 1.09 MB / 0.5517 GB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.682, allocations: 83.89 kB / 0.5518 GB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01787/0.6999, allocations: 4.918 MB / 0.5566 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.7012, allocations: 43.45 kB / 0.5566 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.7014, allocations: 27.98 kB / 0.5566 GB, free: 13.4 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.0003416/0.7017, allocations: 108.9 kB / 0.5567 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.702, allocations: 59.33 kB / 0.5568 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.7123, allocations: 1.874 MB / 0.5586 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.7123, allocations: 8 kB / 0.5586 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7124, allocations: 0 / 0.5586 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/0.7124, allocations: 3.984 kB / 0.5586 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.7144, allocations: 0.8338 MB / 0.5594 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.7144, allocations: 0 / 0.5594 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.715, allocations: 99.75 kB / 0.5595 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009346/0.7244, allocations: 1.094 MB / 0.5606 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/0.7246, allocations: 8 kB / 0.5606 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/0.7423, allocations: 4.906 MB / 0.5654 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.7423, allocations: 0 / 0.5654 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009761/0.7521, allocations: 1.835 MB / 0.5672 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.7525, allocations: 152.1 kB / 0.5673 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.7528, allocations: 0 / 0.5673 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.7538, allocations: 35.97 kB / 0.5674 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.754, allocations: 44.7 kB / 0.5674 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.7542, allocations: 35.92 kB / 0.5675 GB, free: 2.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004451/0.7546, allocations: 223.2 kB / 0.5677 GB, free: 1.879 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001486/0.7561, allocations: 243.7 kB / 0.5679 GB, free: 1.641 MB / 378.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.0003981/0.7565, allocations: 115.2 kB / 0.568 GB, free: 1.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005283/0.7618, allocations: 1.227 MB / 0.5692 GB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.7619, allocations: 0 / 0.5692 GB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00407/0.766, allocations: 0.8506 MB / 0.57 GB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.7667, allocations: 39.03 kB / 0.5701 GB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.7699, allocations: 0.7485 MB / 0.5708 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008286/0.7708, allocations: 0.9429 MB / 0.5717 GB, free: 13.62 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.7708, allocations: 3.938 kB / 0.5717 GB, free: 13.62 MB / 394.7 MB Notification: Performance of Templates: time 0.03063/0.8014, allocations: 15.83 MB / 0.5872 GB, free: 13.84 MB / 410.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)