Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_ThreePhase_IEEE4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4,fileNamePrefix="OpenIPSL_dev_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.005138/0.005138, allocations: 184.3 kB / 7.462 MB, free: 2.5 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.473/1.473, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.001026/0.001026, allocations: 99.7 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6161/0.6161, allocations: 78.91 MB / 409.8 MB, free: 2.992 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2193/0.8354, allocations: 75.65 MB / 485.5 MB, free: 7.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5745/1.41, allocations: 69.48 MB / 0.5419 GB, free: 37.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/1.564, allocations: 100.7 MB / 0.6403 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/1.564, allocations: 67.95 kB / 0.6404 GB, free: 11.59 MB / 0.4948 GB 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.1775/1.742, allocations: 55.12 MB / 0.6942 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/1.742, allocations: 12 kB / 0.6942 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/1.744, allocations: 292.2 kB / 0.6945 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004781/1.748, allocations: 2.133 MB / 0.6966 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/1.749, allocations: 24 kB / 0.6966 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009005/1.749, allocations: 44 kB / 0.6966 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01045/1.76, allocations: 4.865 MB / 0.7014 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00528/1.765, allocations: 2.519 MB / 0.7038 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/1.765, allocations: 0 / 0.7038 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/1.766, allocations: 4 kB / 0.7038 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002197/1.766, allocations: 162.2 kB / 0.704 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02804/1.794, allocations: 12.47 MB / 0.7162 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/1.797, allocations: 1.684 MB / 0.7178 GB, free: 11.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/1.799, allocations: 1.424 MB / 0.7192 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/1.8, allocations: 20.55 kB / 0.7192 GB, free: 10.07 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/1.8, allocations: 39.22 kB / 0.7193 GB, free: 10.02 MB / 0.573 GB Notification: Performance of pre-optimization done (n=84): time 4.949e-06/1.8, allocations: 0 / 0.7193 GB, free: 10.02 MB / 0.573 GB Notification: Performance of matching and sorting (n=84): time 0.01243/1.812, allocations: 5.2 MB / 0.7243 GB, free: 4.797 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/1.812, allocations: 60.06 kB / 0.7244 GB, free: 4.727 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006454/1.819, allocations: 3.479 MB / 0.7278 GB, free: 1.234 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004854/1.819, allocations: 25.7 kB / 0.7278 GB, free: 1.203 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006616/1.82, allocations: 0.6746 MB / 0.7285 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006287/1.82, allocations: 279.8 kB / 0.7287 GB, free: 248 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/1.821, allocations: 0 / 0.7287 GB, free: 248 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.821, allocations: 349.8 kB / 0.7291 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/1.823, allocations: 1.314 MB / 0.7304 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/1.825, allocations: 1.49 MB / 0.7318 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/1.827, allocations: 1.379 MB / 0.7332 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/1.827, allocations: 4 kB / 0.7332 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01868/1.846, allocations: 6.832 MB / 0.7398 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.846, allocations: 4 kB / 0.7398 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/1.846, allocations: 8 kB / 0.7399 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02322/1.869, allocations: 5.222 MB / 0.745 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/1.872, allocations: 247.6 kB / 0.7452 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/1.886, allocations: 6.442 MB / 0.7515 GB, free: 8.812 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/1.888, allocations: 123 kB / 0.7516 GB, free: 8.691 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/1.888, allocations: 40 kB / 0.7516 GB, free: 8.652 MB / 0.6042 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.0003919/1.889, allocations: 128.2 kB / 0.7518 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005618/1.889, allocations: 244.8 kB / 0.752 GB, free: 8.281 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009433/1.899, allocations: 4.885 MB / 0.7568 GB, free: 3.371 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/1.899, allocations: 12 kB / 0.7568 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.899, allocations: 4 kB / 0.7568 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.899, allocations: 3.984 kB / 0.7568 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004747/1.904, allocations: 2.751 MB / 0.7595 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.904, allocations: 0 / 0.7595 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/1.906, allocations: 183.7 kB / 0.7596 GB, free: 384 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3456/2.251, allocations: 5.167 MB / 0.7647 GB, free: 203.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005061/2.252, allocations: 3.562 kB / 0.7647 GB, free: 203.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/2.263, allocations: 6.432 MB / 0.771 GB, free: 202.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/2.263, allocations: 3.75 kB / 0.771 GB, free: 202.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008178/2.271, allocations: 4.646 MB / 0.7755 GB, free: 202.5 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008186/2.279, allocations: 5.083 MB / 0.7805 GB, free: 201.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/2.281, allocations: 0.6263 MB / 0.7811 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005329/2.281, allocations: 0 / 0.7811 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/2.283, allocations: 63.62 kB / 0.7811 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/2.283, allocations: 41.75 kB / 0.7812 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/2.283, allocations: 22.75 kB / 0.7812 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.004303/2.287, allocations: 2.719 MB / 0.7839 GB, free: 201.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005713/2.293, allocations: 1.226 MB / 0.7851 GB, free: 201.4 MB / 0.6042 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.003954/2.297, allocations: 0.6007 MB / 0.7856 GB, free: 201.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008042/2.305, allocations: 4.066 MB / 0.7896 GB, free: 201.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/2.305, allocations: 0 / 0.7896 GB, free: 201.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00577/2.311, allocations: 2.577 MB / 0.7921 GB, free: 201.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/2.313, allocations: 159.4 kB / 0.7923 GB, free: 201.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009723/2.322, allocations: 4.326 MB / 0.7965 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002659/2.325, allocations: 1.942 MB / 0.7984 GB, free: 199.3 MB / 0.6042 GB Notification: Performance of SimCode: time 3.286e-06/2.325, allocations: 1.469 kB / 0.7984 GB, free: 199.3 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE4_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE4.fmu > OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4.pipe 2>&1)