Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.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_MonoTri,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri",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.002105/0.002105, allocations: 178.3 kB / 7.454 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.053/1.053, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0008337/0.0008337, allocations: 98.23 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.3584/0.3584, allocations: 78.11 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1136/0.4721, allocations: 75.49 MB / 484.5 MB, free: 4.473 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.6981, allocations: 69.34 MB / 0.5408 GB, free: 21.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.8232, allocations: 125.7 MB / 0.6636 GB, free: 11.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.8234, allocations: 67.97 kB / 0.6636 GB, free: 11.03 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.6833/1.507, allocations: 172.3 MB / 0.8319 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/1.507, allocations: 8 kB / 0.8319 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/1.508, allocations: 237.8 kB / 0.8321 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/1.512, allocations: 2.481 MB / 0.8345 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/1.512, allocations: 63.02 kB / 0.8346 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/1.512, allocations: 32 kB / 0.8346 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003609/1.516, allocations: 2.197 MB / 0.8368 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/1.517, allocations: 1.23 MB / 0.838 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/1.517, allocations: 0 / 0.838 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/1.518, allocations: 0 / 0.838 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.822e-05/1.518, allocations: 85.8 kB / 0.838 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/1.529, allocations: 7.273 MB / 0.8451 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/1.53, allocations: 1.02 MB / 0.8461 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009196/1.531, allocations: 0.7604 MB / 0.8469 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.636e-05/1.531, allocations: 16.64 kB / 0.8469 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/1.531, allocations: 43.16 kB / 0.8469 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 2.404e-06/1.531, allocations: 0 / 0.8469 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.01019/1.541, allocations: 3.944 MB / 0.8508 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/1.541, allocations: 60.06 kB / 0.8508 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/1.545, allocations: 3.012 MB / 0.8538 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.464e-05/1.545, allocations: 25.7 kB / 0.8538 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/1.545, allocations: 405.7 kB / 0.8542 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/1.546, allocations: 228.5 kB / 0.8544 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/1.546, allocations: 4 kB / 0.8544 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.546, allocations: 334 kB / 0.8547 GB, free: 260 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008365/1.547, allocations: 0.646 MB / 0.8554 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009397/1.548, allocations: 0.7863 MB / 0.8561 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009846/1.549, allocations: 0.6904 MB / 0.8568 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.549, allocations: 7.938 kB / 0.8568 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01123/1.56, allocations: 4.283 MB / 0.861 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/1.56, allocations: 7.984 kB / 0.861 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.56, allocations: 8 kB / 0.861 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/1.572, allocations: 3.48 MB / 0.8644 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/1.573, allocations: 79.84 kB / 0.8645 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006955/1.58, allocations: 3.84 MB / 0.8682 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.581, allocations: 95.17 kB / 0.8683 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.581, allocations: 28 kB / 0.8684 GB, free: 2.195 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Load.Vc:VARIABLE(protected = true ) type: Real Load.in_coef[1,3]:VARIABLE(protected = true ) type: Real [1,3] Load.Va:VARIABLE(protected = true ) type: Real Load.Vb:VARIABLE(protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 19} Notification: Performance of prepare postOptimizeDAE: time 0.000252/1.581, allocations: 120.8 kB / 0.8685 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/1.582, allocations: 138.2 kB / 0.8686 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006005/1.588, allocations: 3.002 MB / 0.8715 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/1.588, allocations: 8 kB / 0.8715 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.588, allocations: 11.89 kB / 0.8716 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/1.588, allocations: 7.938 kB / 0.8716 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/1.59, allocations: 1.681 MB / 0.8732 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.59, allocations: 3.906 kB / 0.8732 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/1.59, allocations: 35.97 kB / 0.8732 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01233/1.603, allocations: 3.469 MB / 0.8766 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/1.603, allocations: 0 / 0.8766 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006866/1.61, allocations: 3.834 MB / 0.8804 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.61, allocations: 0 / 0.8804 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005831/1.616, allocations: 2.943 MB / 0.8832 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.159/1.775, allocations: 3.352 MB / 0.8865 GB, free: 149.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/1.776, allocations: 0.5294 MB / 0.887 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/1.776, allocations: 2.344 kB / 0.887 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/1.777, allocations: 43.19 kB / 0.8871 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.777, allocations: 46.62 kB / 0.8871 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.938e-05/1.777, allocations: 18.12 kB / 0.8871 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002204/1.779, allocations: 2.326 MB / 0.8894 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004716/1.784, allocations: 2.482 MB / 0.8918 GB, free: 149.6 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.004223/1.788, allocations: 2.183 MB / 0.894 GB, free: 149 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004632/1.793, allocations: 2.422 MB / 0.8963 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.793, allocations: 6.469 kB / 0.8963 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003628/1.797, allocations: 1.665 MB / 0.898 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/1.797, allocations: 93.05 kB / 0.8981 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/1.801, allocations: 2.043 MB / 0.9 GB, free: 148.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009171/1.802, allocations: 1.332 MB / 0.9014 GB, free: 147.6 MB / 0.5573 GB Notification: Performance of SimCode: time 3.51e-07/1.802, allocations: 0 / 0.9014 GB, free: 147.6 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri.fmu > OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe 2>&1)