Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri,fileNamePrefix="OpenIPSL_dev_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.004681/0.004682, allocations: 180.1 kB / 7.458 MB, free: 2.164 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.35/1.35, 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.0009448/0.0009448, allocations: 104.5 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5213/0.5213, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2052/0.7265, allocations: 75.64 MB / 485.5 MB, free: 3.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/1.179, allocations: 69.5 MB / 0.542 GB, free: 21.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/1.36, allocations: 126.2 MB / 0.6652 GB, free: 9.695 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/1.36, allocations: 67.95 kB / 0.6653 GB, free: 9.629 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.9505/2.31, allocations: 172.3 MB / 0.8336 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/2.311, allocations: 15.92 kB / 0.8336 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/2.312, allocations: 241.8 kB / 0.8338 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004571/2.317, allocations: 2.477 MB / 0.8363 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/2.317, allocations: 59 kB / 0.8363 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/2.317, allocations: 36 kB / 0.8363 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004454/2.322, allocations: 2.197 MB / 0.8385 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/2.325, allocations: 1.234 MB / 0.8397 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/2.325, allocations: 8 kB / 0.8397 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/2.325, allocations: 0 / 0.8397 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/2.325, allocations: 77.88 kB / 0.8398 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/2.342, allocations: 7.273 MB / 0.8469 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/2.344, allocations: 1.016 MB / 0.8479 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/2.345, allocations: 0.7642 MB / 0.8486 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/2.345, allocations: 20.64 kB / 0.8486 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/2.345, allocations: 35.22 kB / 0.8487 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 3.997e-06/2.345, allocations: 7.938 kB / 0.8487 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.01209/2.357, allocations: 3.94 MB / 0.8525 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/2.357, allocations: 60.06 kB / 0.8526 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005732/2.363, allocations: 3.012 MB / 0.8555 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003043/2.363, allocations: 25.7 kB / 0.8556 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/2.364, allocations: 405.6 kB / 0.8559 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005497/2.364, allocations: 228.5 kB / 0.8562 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/2.364, allocations: 0 / 0.8562 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001656/2.365, allocations: 337.9 kB / 0.8565 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/2.366, allocations: 0.6459 MB / 0.8571 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/2.367, allocations: 0.7785 MB / 0.8579 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/2.368, allocations: 0.702 MB / 0.8586 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/2.369, allocations: 0 / 0.8586 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01308/2.382, allocations: 4.295 MB / 0.8628 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/2.382, allocations: 4 kB / 0.8628 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/2.382, allocations: 4 kB / 0.8628 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01512/2.397, allocations: 3.484 MB / 0.8662 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/2.397, allocations: 79.84 kB / 0.8662 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00861/2.406, allocations: 3.837 MB / 0.87 GB, free: 444 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/2.408, allocations: 87.25 kB / 0.8701 GB, free: 356 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/2.408, allocations: 31.98 kB / 0.8701 GB, free: 324 kB / 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.0003318/2.408, allocations: 120.6 kB / 0.8702 GB, free: 196 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006415/2.409, allocations: 138.2 kB / 0.8703 GB, free: 56 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007268/2.416, allocations: 3.002 MB / 0.8733 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/2.416, allocations: 8 kB / 0.8733 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/2.416, allocations: 7.906 kB / 0.8733 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/2.416, allocations: 3.984 kB / 0.8733 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/2.42, allocations: 1.685 MB / 0.8749 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/2.42, allocations: 7.906 kB / 0.8749 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/2.42, allocations: 31.98 kB / 0.875 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.014/2.434, allocations: 3.469 MB / 0.8784 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/2.434, allocations: 11.94 kB / 0.8784 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008846/2.443, allocations: 3.826 MB / 0.8821 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/2.443, allocations: 0 / 0.8821 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006948/2.45, allocations: 2.947 MB / 0.885 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3148/2.765, allocations: 3.353 MB / 0.8883 GB, free: 149.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/2.766, allocations: 0.5298 MB / 0.8888 GB, free: 149.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00053/2.767, allocations: 3.844 kB / 0.8888 GB, free: 149.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008934/2.768, allocations: 47.36 kB / 0.8888 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/2.768, allocations: 48.81 kB / 0.8889 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.013e-05/2.768, allocations: 14.91 kB / 0.8889 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002865/2.771, allocations: 2.322 MB / 0.8912 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00744/2.779, allocations: 2.486 MB / 0.8936 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.01113/2.79, allocations: 2.188 MB / 0.8957 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005818/2.796, allocations: 2.423 MB / 0.8981 GB, free: 149 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/2.796, allocations: 0 / 0.8981 GB, free: 149 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004254/2.8, allocations: 1.668 MB / 0.8997 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/2.801, allocations: 86.23 kB / 0.8998 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00502/2.806, allocations: 2.047 MB / 0.9018 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/2.807, allocations: 1.335 MB / 0.9031 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/2.808, allocations: 3.844 kB / 0.9031 GB, free: 147.7 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri.fmu > OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe 2>&1)