Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_MonoTri,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri,fileNamePrefix="OpenIPSL_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.002381/0.002381, allocations: 178.8 kB / 7.455 MB, free: 1.531 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.4 MB / 229.3 MB, free: 8.398 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 97.94 kB / 280.1 MB, free: 7.805 MB / 226.8 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.05 MB / 408.9 MB, free: 5.305 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2044/0.7512, allocations: 75.49 MB / 484.4 MB, free: 10.12 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/1.215, allocations: 69.34 MB / 0.5408 GB, free: 15.65 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/1.398, allocations: 125.7 MB / 0.6635 GB, free: 1.762 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/1.398, allocations: 71.95 kB / 0.6636 GB, free: 1.691 MB / 482.8 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.9371/2.335, allocations: 172.3 MB / 0.8318 GB, free: 7.938 MB / 0.5183 GB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/2.335, allocations: 8 kB / 0.8318 GB, free: 7.93 MB / 0.5183 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/2.337, allocations: 245.8 kB / 0.8321 GB, free: 7.688 MB / 0.5183 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004928/2.342, allocations: 2.481 MB / 0.8345 GB, free: 5.156 MB / 0.5183 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/2.342, allocations: 55.02 kB / 0.8345 GB, free: 5.098 MB / 0.5183 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003909/2.342, allocations: 36 kB / 0.8346 GB, free: 5.062 MB / 0.5183 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00447/2.347, allocations: 2.213 MB / 0.8367 GB, free: 2.848 MB / 0.5183 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/2.349, allocations: 1.222 MB / 0.8379 GB, free: 1.621 MB / 0.5183 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/2.349, allocations: 4 kB / 0.8379 GB, free: 1.617 MB / 0.5183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/2.349, allocations: 0 / 0.8379 GB, free: 1.617 MB / 0.5183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/2.349, allocations: 81.86 kB / 0.838 GB, free: 1.535 MB / 0.5183 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/2.363, allocations: 7.273 MB / 0.8451 GB, free: 9.941 MB / 0.5339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/2.365, allocations: 1.02 MB / 0.8461 GB, free: 8.914 MB / 0.5339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/2.366, allocations: 0.7604 MB / 0.8468 GB, free: 8.152 MB / 0.5339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/2.366, allocations: 16.62 kB / 0.8469 GB, free: 8.137 MB / 0.5339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/2.366, allocations: 39.22 kB / 0.8469 GB, free: 8.09 MB / 0.5339 GB Notification: Performance of pre-optimization done (n=69): time 4.889e-06/2.366, allocations: 4 kB / 0.8469 GB, free: 8.086 MB / 0.5339 GB Notification: Performance of matching and sorting (n=69): time 0.01135/2.377, allocations: 3.948 MB / 0.8508 GB, free: 4.113 MB / 0.5339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/2.378, allocations: 60.06 kB / 0.8508 GB, free: 4.043 MB / 0.5339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005585/2.383, allocations: 3.012 MB / 0.8538 GB, free: 1.023 MB / 0.5339 GB Notification: Performance of collectPreVariables (initialization): time 0.0003882/2.384, allocations: 29.64 kB / 0.8538 GB, free: 0.9883 MB / 0.5339 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/2.384, allocations: 405.7 kB / 0.8542 GB, free: 0.5859 MB / 0.5339 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/2.384, allocations: 232.5 kB / 0.8544 GB, free: 364 kB / 0.5339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/2.384, allocations: 3.938 kB / 0.8544 GB, free: 360 kB / 0.5339 GB Notification: Performance of setup shared object (initialization): time 0.0001792/2.385, allocations: 334.1 kB / 0.8547 GB, free: 20 kB / 0.5339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/2.386, allocations: 0.646 MB / 0.8553 GB, free: 15.37 MB / 0.5496 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009963/2.387, allocations: 0.7786 MB / 0.8561 GB, free: 14.54 MB / 0.5496 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/2.388, allocations: 0.6981 MB / 0.8568 GB, free: 13.84 MB / 0.5496 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/2.388, allocations: 0 / 0.8568 GB, free: 13.84 MB / 0.5496 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01237/2.4, allocations: 4.291 MB / 0.861 GB, free: 9.535 MB / 0.5496 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/2.4, allocations: 4 kB / 0.861 GB, free: 9.531 MB / 0.5496 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/2.4, allocations: 7.938 kB / 0.861 GB, free: 9.523 MB / 0.5496 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0151/2.415, allocations: 3.488 MB / 0.8644 GB, free: 6.027 MB / 0.5496 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/2.416, allocations: 71.91 kB / 0.8645 GB, free: 5.957 MB / 0.5496 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008711/2.425, allocations: 3.844 MB / 0.8682 GB, free: 2.082 MB / 0.5496 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/2.426, allocations: 91.23 kB / 0.8683 GB, free: 1.992 MB / 0.5496 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/2.426, allocations: 24 kB / 0.8683 GB, free: 1.969 MB / 0.5496 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.00029/2.426, allocations: 124.8 kB / 0.8684 GB, free: 1.84 MB / 0.5496 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/2.427, allocations: 138.2 kB / 0.8686 GB, free: 1.703 MB / 0.5496 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007056/2.434, allocations: 3.006 MB / 0.8715 GB, free: 14.68 MB / 0.5652 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/2.434, allocations: 11.98 kB / 0.8715 GB, free: 14.66 MB / 0.5652 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/2.434, allocations: 3.906 kB / 0.8715 GB, free: 14.66 MB / 0.5652 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/2.434, allocations: 3.984 kB / 0.8715 GB, free: 14.66 MB / 0.5652 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/2.437, allocations: 1.677 MB / 0.8732 GB, free: 12.94 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/2.437, allocations: 7.906 kB / 0.8732 GB, free: 12.93 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/2.437, allocations: 35.92 kB / 0.8732 GB, free: 12.89 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01392/2.451, allocations: 3.465 MB / 0.8766 GB, free: 9.418 MB / 0.5652 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002957/2.452, allocations: 8 kB / 0.8766 GB, free: 9.41 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007834/2.459, allocations: 3.825 MB / 0.8803 GB, free: 5.559 MB / 0.5652 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/2.46, allocations: 0 / 0.8803 GB, free: 5.559 MB / 0.5652 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00673/2.466, allocations: 2.955 MB / 0.8832 GB, free: 2.574 MB / 0.5652 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2743/2.741, allocations: 3.357 MB / 0.8865 GB, free: 153.7 MB / 0.5652 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/2.742, allocations: 0.5289 MB / 0.887 GB, free: 153.6 MB / 0.5652 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005021/2.742, allocations: 3.438 kB / 0.887 GB, free: 153.6 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009802/2.743, allocations: 44.78 kB / 0.8871 GB, free: 153.6 MB / 0.5652 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/2.743, allocations: 45.81 kB / 0.8871 GB, free: 153.6 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/2.744, allocations: 21.55 kB / 0.8871 GB, free: 153.6 MB / 0.5652 GB Notification: Performance of sort global known variables: time 0.002775/2.746, allocations: 2.325 MB / 0.8894 GB, free: 153.5 MB / 0.5652 GB Notification: Performance of remove unused functions: time 0.006367/2.753, allocations: 2.479 MB / 0.8918 GB, free: 153.5 MB / 0.5652 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.008778/2.761, allocations: 2.19 MB / 0.894 GB, free: 153 MB / 0.5652 GB Notification: Performance of simCode: created initialization part: time 0.005671/2.767, allocations: 2.422 MB / 0.8963 GB, free: 152.9 MB / 0.5652 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/2.767, allocations: 0 / 0.8963 GB, free: 152.9 MB / 0.5652 GB Notification: Performance of simCode: created simulation system equations: time 0.004039/2.771, allocations: 1.674 MB / 0.898 GB, free: 152.7 MB / 0.5652 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009489/2.772, allocations: 79.5 kB / 0.898 GB, free: 152.7 MB / 0.5652 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/2.777, allocations: 2.042 MB / 0.9 GB, free: 152.3 MB / 0.5652 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009308/2.777, allocations: 1.327 MB / 0.9013 GB, free: 151.6 MB / 0.5652 GB Notification: Performance of SimCode: time 6.72e-07/2.777, allocations: 3.938 kB / 0.9013 GB, free: 151.6 MB / 0.5652 GB (rm -f OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri.fmu > OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe 2>&1)