Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003648/0.003648, allocations: 180.8 kB / 7.455 MB, free: 2.523 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 94.66 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07922/0.07922, allocations: 12.2 MB / 321.2 MB, free: 1.281 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3008/0.3008, allocations: 78.05 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3013/0.6022, allocations: 76.09 MB / 0.5137 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.7459, allocations: 69.23 MB / 0.5813 GB, free: 9.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4419/1.188, allocations: 101.7 MB / 0.6806 GB, free: 6.992 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/1.188, allocations: 64.66 kB / 0.6806 GB, free: 6.961 MB / 426.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.1701/1.358, allocations: 54.35 MB / 0.7337 GB, free: 6.223 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.358, allocations: 12.12 kB / 0.7337 GB, free: 6.211 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/1.36, allocations: 292.2 kB / 0.734 GB, free: 5.922 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/1.364, allocations: 2.141 MB / 0.7361 GB, free: 4.164 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/1.364, allocations: 24 kB / 0.7361 GB, free: 4.141 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006991/1.365, allocations: 51.91 kB / 0.7362 GB, free: 4.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009471/1.374, allocations: 4.86 MB / 0.7409 GB, free: 284 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004497/1.379, allocations: 2.511 MB / 0.7434 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/1.379, allocations: 0 / 0.7434 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/1.379, allocations: 0 / 0.7434 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/1.379, allocations: 172.8 kB / 0.7435 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02404/1.403, allocations: 12.46 MB / 0.7557 GB, free: 3.227 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/1.406, allocations: 1.682 MB / 0.7573 GB, free: 2.098 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/1.408, allocations: 1.426 MB / 0.7587 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/1.408, allocations: 14.02 kB / 0.7587 GB, free: 1.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/1.408, allocations: 41.59 kB / 0.7588 GB, free: 1.113 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 3.486e-06/1.408, allocations: 3.938 kB / 0.7588 GB, free: 1.109 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01184/1.42, allocations: 5.189 MB / 0.7639 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/1.42, allocations: 68.06 kB / 0.7639 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007351/1.427, allocations: 3.486 MB / 0.7673 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000448/1.428, allocations: 25.7 kB / 0.7674 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000811/1.429, allocations: 0.6669 MB / 0.768 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.43, allocations: 291.7 kB / 0.7683 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/1.43, allocations: 0 / 0.7683 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.43, allocations: 338 kB / 0.7686 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/1.432, allocations: 1.302 MB / 0.7699 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/1.434, allocations: 1.498 MB / 0.7713 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/1.436, allocations: 1.379 MB / 0.7727 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.437, allocations: 4 kB / 0.7727 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01867/1.455, allocations: 6.824 MB / 0.7794 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/1.455, allocations: 12 kB / 0.7794 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/1.455, allocations: 7.984 kB / 0.7794 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02163/1.477, allocations: 5.218 MB / 0.7845 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/1.479, allocations: 247.6 kB / 0.7847 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/1.494, allocations: 6.434 MB / 0.791 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.496, allocations: 130.9 kB / 0.7911 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/1.496, allocations: 36 kB / 0.7911 GB, free: 472 kB / 0.5105 GB 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.0003913/1.496, allocations: 128.8 kB / 0.7913 GB, free: 336 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/1.497, allocations: 248.8 kB / 0.7915 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009362/1.506, allocations: 4.881 MB / 0.7963 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/1.507, allocations: 8 kB / 0.7963 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.507, allocations: 0 / 0.7963 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.507, allocations: 7.891 kB / 0.7963 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004434/1.511, allocations: 2.755 MB / 0.799 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.511, allocations: 3.938 kB / 0.799 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/1.513, allocations: 195.7 kB / 0.7992 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02029/1.533, allocations: 5.163 MB / 0.8042 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003742/1.534, allocations: 0 / 0.8042 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/1.546, allocations: 6.434 MB / 0.8105 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/1.546, allocations: 0 / 0.8105 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009438/1.555, allocations: 4.653 MB / 0.815 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00962/1.565, allocations: 5.083 MB / 0.82 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.566, allocations: 0.6302 MB / 0.8206 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005997/1.567, allocations: 3.906 kB / 0.8206 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.569, allocations: 63.94 kB / 0.8207 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/1.569, allocations: 36.59 kB / 0.8207 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/1.569, allocations: 20 kB / 0.8207 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.004244/1.573, allocations: 2.72 MB / 0.8234 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005019/1.578, allocations: 1.221 MB / 0.8246 GB, free: 14.02 MB / 0.5573 GB 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.004392/1.583, allocations: 0.5941 MB / 0.8252 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009184/1.592, allocations: 4.067 MB / 0.8291 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.592, allocations: 0 / 0.8291 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006785/1.599, allocations: 2.573 MB / 0.8316 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/1.601, allocations: 169.5 kB / 0.8318 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/1.611, allocations: 4.327 MB / 0.836 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/1.613, allocations: 1.938 MB / 0.8379 GB, free: 240 kB / 0.5573 GB Notification: Performance of SimCode: time 7.61e-07/1.613, allocations: 4 kB / 0.8379 GB, free: 236 kB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE4_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE4.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4.pipe 2>&1)