Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.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(OpenIPSL.Tests.ThreePhase.IEEE4,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_ThreePhase_IEEE4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_ThreePhase_IEEE4",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.003895/0.003895, allocations: 183.6 kB / 7.459 MB, free: 2.512 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.501/1.501, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.001103/0.001103, allocations: 95.33 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5467/0.5467, allocations: 78.06 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1944/0.7412, allocations: 75.49 MB / 484.4 MB, free: 4.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/1.173, allocations: 69.34 MB / 0.5408 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/1.313, allocations: 100.2 MB / 0.6387 GB, free: 4.59 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/1.313, allocations: 67.95 kB / 0.6387 GB, free: 4.523 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.5095/1.822, allocations: 55.11 MB / 0.6925 GB, free: 96.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/1.823, allocations: 7.219 kB / 0.6925 GB, free: 96.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/1.825, allocations: 295.4 kB / 0.6928 GB, free: 95.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/1.829, allocations: 2.137 MB / 0.6949 GB, free: 95.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/1.829, allocations: 26.09 kB / 0.6949 GB, free: 95.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008074/1.83, allocations: 46.31 kB / 0.695 GB, free: 95.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008606/1.838, allocations: 4.862 MB / 0.6997 GB, free: 95.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00621/1.844, allocations: 2.513 MB / 0.7022 GB, free: 95.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/1.844, allocations: 0.6875 kB / 0.7022 GB, free: 95.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/1.845, allocations: 0 / 0.7022 GB, free: 95.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002759/1.845, allocations: 163.8 kB / 0.7023 GB, free: 95.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02584/1.871, allocations: 12.47 MB / 0.7145 GB, free: 89.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/1.874, allocations: 1.676 MB / 0.7162 GB, free: 88.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/1.875, allocations: 1.427 MB / 0.7175 GB, free: 86.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/1.876, allocations: 19.08 kB / 0.7176 GB, free: 86.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/1.876, allocations: 39.22 kB / 0.7176 GB, free: 86.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 4.508e-06/1.876, allocations: 0 / 0.7176 GB, free: 86.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01092/1.887, allocations: 5.197 MB / 0.7227 GB, free: 82.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/1.887, allocations: 60.06 kB / 0.7227 GB, free: 82.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007146/1.894, allocations: 3.481 MB / 0.7261 GB, free: 79.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005535/1.894, allocations: 29.7 kB / 0.7262 GB, free: 79.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007275/1.895, allocations: 0.6745 MB / 0.7268 GB, free: 79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009358/1.896, allocations: 282.3 kB / 0.7271 GB, free: 78.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/1.896, allocations: 0 / 0.7271 GB, free: 78.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/1.897, allocations: 345.3 kB / 0.7274 GB, free: 78.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/1.898, allocations: 1.304 MB / 0.7287 GB, free: 77.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/1.9, allocations: 1.492 MB / 0.7302 GB, free: 75.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/1.902, allocations: 1.38 MB / 0.7315 GB, free: 74.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.902, allocations: 0 / 0.7315 GB, free: 74.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01734/1.919, allocations: 6.836 MB / 0.7382 GB, free: 68.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/1.919, allocations: 5.312 kB / 0.7382 GB, free: 68.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.94e-05/1.919, allocations: 4 kB / 0.7382 GB, free: 68.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01978/1.939, allocations: 5.226 MB / 0.7433 GB, free: 63.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/1.941, allocations: 249 kB / 0.7435 GB, free: 63.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/1.954, allocations: 6.431 MB / 0.7498 GB, free: 56.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/1.956, allocations: 123 kB / 0.7499 GB, free: 56.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/1.957, allocations: 39.98 kB / 0.75 GB, free: 56.43 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Load.Va:VARIABLE(protected = true ) type: Real Load.in_coef[1,1]:VARIABLE(protected = true ) type: Real [1,3] Load.Vb:VARIABLE(protected = true ) type: Real Load.Vc:VARIABLE(protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {26 26} Notification: Performance of prepare postOptimizeDAE: time 0.0005226/1.957, allocations: 128.5 kB / 0.7501 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.958, allocations: 248.8 kB / 0.7503 GB, free: 56.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008684/1.967, allocations: 4.882 MB / 0.7551 GB, free: 51.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/1.967, allocations: 11.98 kB / 0.7551 GB, free: 51.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.967, allocations: 0 / 0.7551 GB, free: 51.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/1.967, allocations: 3.984 kB / 0.7551 GB, free: 51.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005295/1.972, allocations: 2.767 MB / 0.7578 GB, free: 48.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.972, allocations: 0 / 0.7578 GB, free: 48.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/1.974, allocations: 183.7 kB / 0.758 GB, free: 48.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01948/1.994, allocations: 5.163 MB / 0.763 GB, free: 43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005168/1.994, allocations: 11.98 kB / 0.763 GB, free: 42.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/2.006, allocations: 6.438 MB / 0.7693 GB, free: 36.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/2.006, allocations: 0 / 0.7693 GB, free: 36.52 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008223/2.015, allocations: 4.652 MB / 0.7739 GB, free: 31.85 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008308/2.023, allocations: 5.073 MB / 0.7788 GB, free: 26.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/2.025, allocations: 0.6341 MB / 0.7794 GB, free: 26.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/2.026, allocations: 0 / 0.7794 GB, free: 26.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/2.028, allocations: 59.95 kB / 0.7795 GB, free: 26.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/2.028, allocations: 36.59 kB / 0.7795 GB, free: 26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/2.028, allocations: 27.98 kB / 0.7796 GB, free: 25.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00493/2.033, allocations: 2.716 MB / 0.7822 GB, free: 23.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005574/2.039, allocations: 1.225 MB / 0.7834 GB, free: 22.03 MB / 490.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 (31): * Single equations (assignments): 30 * 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 {26 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.007308/2.046, allocations: 0.6052 MB / 0.784 GB, free: 21.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009682/2.056, allocations: 4.058 MB / 0.788 GB, free: 17.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/2.056, allocations: 0 / 0.788 GB, free: 17.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006205/2.062, allocations: 2.578 MB / 0.7905 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/2.065, allocations: 161.4 kB / 0.7906 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/2.079, allocations: 4.335 MB / 0.7949 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003225/2.083, allocations: 1.938 MB / 0.7968 GB, free: 8.266 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/2.083, allocations: 3.938 kB / 0.7968 GB, free: 8.262 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_ThreePhase_IEEE4_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_ThreePhase_IEEE4.fmu > OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.pipe 2>&1)