Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 109 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 181.9 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9977/0.9977, allocations: 175.7 MB / 480.1 MB, free: 2.812 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 71.67 kB / 0.6678 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1581, allocations: 94.53 MB / 0.7601 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008755/0.1669, allocations: 6.399 MB / 0.7663 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005206/0.1721, allocations: 3.289 MB / 0.7695 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.1726, allocations: 31.81 kB / 0.7696 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.1751, allocations: 0.9687 MB / 0.7705 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.1763, allocations: 493.5 kB / 0.771 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.1776, allocations: 0.5019 MB / 0.7715 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.179, allocations: 1.104 MB / 0.7726 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008035/0.1798, allocations: 458.4 kB / 0.773 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006996/0.1805, allocations: 442.3 kB / 0.7734 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007957/0.1813, allocations: 0.498 MB / 0.7739 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.1814, allocations: 60 kB / 0.774 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008818/0.1823, allocations: 499 kB / 0.7744 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.1826, allocations: 291.2 kB / 0.7747 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004812/0.1831, allocations: 409.9 kB / 0.7751 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.1846, allocations: 1.183 MB / 0.7763 GB, free: 184 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1846, allocations: 3.984 kB / 0.7763 GB, free: 180 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1846, allocations: 0 / 0.7763 GB, free: 180 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.442e-05/0.1847, allocations: 0 / 0.7763 GB, free: 180 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001992/0.1866, allocations: 1.086 MB / 0.7773 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1867, allocations: 8.031 kB / 0.7773 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.1868, allocations: 118.7 kB / 0.7774 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.1883, allocations: 228.1 kB / 0.7777 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000978/0.1893, allocations: 0.5965 MB / 0.7782 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.1894, allocations: 45.67 kB / 0.7783 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1895, allocations: 60.38 kB / 0.7783 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.1909, allocations: 1.037 MB / 0.7794 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.191, allocations: 7.891 kB / 0.7794 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.945e-05/0.191, allocations: 35.98 kB / 0.7794 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.969e-05/0.1911, allocations: 65.27 kB / 0.7795 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.1922, allocations: 0.6996 MB / 0.7801 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005289/0.1975, allocations: 5.738 MB / 0.7857 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000797/0.1983, allocations: 0.5474 MB / 0.7863 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007543/0.1991, allocations: 392.6 kB / 0.7867 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1991, allocations: 4.688 kB / 0.7867 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1991, allocations: 42.56 kB / 0.7867 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 1.753e-06/0.1991, allocations: 0 / 0.7867 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.004178/0.2033, allocations: 2.007 MB / 0.7887 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.2033, allocations: 59.34 kB / 0.7887 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.2038, allocations: 466.8 kB / 0.7892 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.2039, allocations: 37.7 kB / 0.7892 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.2042, allocations: 396.1 kB / 0.7896 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.2043, allocations: 158.6 kB / 0.7897 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.2045, allocations: 114.3 kB / 0.7898 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2046, allocations: 362.8 kB / 0.7902 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.205, allocations: 241.2 kB / 0.7904 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.2055, allocations: 457 kB / 0.7908 GB, free: 308 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009561/0.2065, allocations: 0.7449 MB / 0.7916 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2065, allocations: 4 kB / 0.7916 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001832/0.2083, allocations: 1.043 MB / 0.7926 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2083, allocations: 8 kB / 0.7926 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.2083, allocations: 19.88 kB / 0.7926 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009764/0.2093, allocations: 315.2 kB / 0.7929 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.2096, allocations: 99.81 kB / 0.793 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00758/0.2172, allocations: 7.475 MB / 0.8003 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.2176, allocations: 36.02 kB / 0.8004 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.2176, allocations: 24 kB / 0.8004 GB, free: 5.852 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003299/0.218, allocations: 248.9 kB / 0.8006 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.2181, allocations: 63.56 kB / 0.8007 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.2198, allocations: 0.8809 MB / 0.8015 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2198, allocations: 4.141 kB / 0.8015 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.2198, allocations: 7.984 kB / 0.8015 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.2198, allocations: 3.984 kB / 0.8015 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.2224, allocations: 1.661 MB / 0.8032 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.2224, allocations: 4 kB / 0.8032 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.2226, allocations: 43.91 kB / 0.8032 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008808/0.2235, allocations: 307.3 kB / 0.8035 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.2235, allocations: 16.06 kB / 0.8035 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007353/0.2309, allocations: 7.459 MB / 0.8108 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.2309, allocations: 11.88 kB / 0.8108 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.2325, allocations: 0.9846 MB / 0.8118 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.2327, allocations: 176.7 kB / 0.812 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.2328, allocations: 15.98 kB / 0.812 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.2331, allocations: 23.92 kB / 0.812 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.2332, allocations: 43.88 kB / 0.812 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.2332, allocations: 12 kB / 0.812 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003454/0.2335, allocations: 310.9 kB / 0.8123 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2335, allocations: 0 / 0.8123 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007283/0.2343, allocations: 200 kB / 0.8125 GB, free: 8.652 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001894/0.2361, allocations: 1.53 MB / 0.814 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.2381, allocations: 1.156 MB / 0.8152 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2381, allocations: 0 / 0.8152 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.2392, allocations: 0.8308 MB / 0.816 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.2402, allocations: 216.2 kB / 0.8162 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008194/0.2483, allocations: 5.865 MB / 0.8219 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000687/0.249, allocations: 0.9958 MB / 0.8229 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002689/0.2493, allocations: 101.2 kB / 0.823 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.2496, allocations: 227.4 kB / 0.8232 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.2496, allocations: 0 / 0.8232 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0524/0.302, allocations: 15.57 MB / 0.8384 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.595/9.897, allocations: 5.484 kB / 0.8384 GB, free: 13.89 MB / 0.6544 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.437681053008419]