Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001399/0.001399, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001396/0.001396, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.176 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.9788/0.9788, allocations: 175.7 MB / 480.1 MB, free: 3.203 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_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.97 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1474, allocations: 94.53 MB / 0.7601 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007273/0.1546, allocations: 5.73 MB / 0.7657 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004276/0.1589, allocations: 2.751 MB / 0.7684 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003414/0.1593, allocations: 27.81 kB / 0.7684 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.161, allocations: 0.6962 MB / 0.7691 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008961/0.1619, allocations: 429.7 kB / 0.7695 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009116/0.1628, allocations: 418.2 kB / 0.7699 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.1639, allocations: 0.9591 MB / 0.7708 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005115/0.1644, allocations: 334.6 kB / 0.7711 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005067/0.1649, allocations: 370.6 kB / 0.7715 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005727/0.1655, allocations: 434.3 kB / 0.7719 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.911e-05/0.1656, allocations: 48 kB / 0.7719 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006025/0.1662, allocations: 371.2 kB / 0.7723 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.1665, allocations: 255.2 kB / 0.7725 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.1668, allocations: 354.2 kB / 0.7729 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.1679, allocations: 0.9728 MB / 0.7738 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1679, allocations: 0 / 0.7738 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1679, allocations: 0 / 0.7738 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.1679, allocations: 3.938 kB / 0.7738 GB, free: 2.707 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001593/0.1695, allocations: 0.9962 MB / 0.7748 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1696, allocations: 12.03 kB / 0.7748 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.1697, allocations: 102.7 kB / 0.7749 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.171, allocations: 192.3 kB / 0.7751 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007867/0.1717, allocations: 0.53 MB / 0.7756 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.1718, allocations: 41.36 kB / 0.7757 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.1719, allocations: 64.48 kB / 0.7757 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.173, allocations: 0.8277 MB / 0.7765 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.173, allocations: 4 kB / 0.7765 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.1731, allocations: 27.97 kB / 0.7766 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/0.1733, allocations: 60.95 kB / 0.7766 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008644/0.1742, allocations: 0.5774 MB / 0.7772 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004292/0.1784, allocations: 4.57 MB / 0.7816 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.1789, allocations: 271.3 kB / 0.7819 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.1792, allocations: 221.3 kB / 0.7821 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1792, allocations: 4.281 kB / 0.7821 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1792, allocations: 46.77 kB / 0.7822 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.1792, allocations: 0 / 0.7822 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005312/0.1846, allocations: 2.636 MB / 0.7847 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1846, allocations: 59.34 kB / 0.7848 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.1851, allocations: 470 kB / 0.7852 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.1851, allocations: 33.7 kB / 0.7853 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.1853, allocations: 352.5 kB / 0.7856 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.1855, allocations: 150.7 kB / 0.7857 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.1856, allocations: 106.1 kB / 0.7858 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1858, allocations: 366.8 kB / 0.7862 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.1862, allocations: 240.9 kB / 0.7864 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.1866, allocations: 402.5 kB / 0.7868 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009091/0.1875, allocations: 0.6778 MB / 0.7875 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1875, allocations: 4 kB / 0.7875 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001629/0.1892, allocations: 0.9134 MB / 0.7884 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1892, allocations: 8.656 kB / 0.7884 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1892, allocations: 8 kB / 0.7884 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007432/0.1899, allocations: 222.4 kB / 0.7886 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.1904, allocations: 115.8 kB / 0.7887 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005211/0.1956, allocations: 5.342 MB / 0.7939 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.196, allocations: 31.97 kB / 0.794 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.1961, allocations: 20 kB / 0.794 GB, free: 12.75 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002858/0.1963, allocations: 229.6 kB / 0.7942 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-05/0.1964, allocations: 63.56 kB / 0.7943 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.1979, allocations: 0.7658 MB / 0.795 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1979, allocations: 4 kB / 0.795 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1979, allocations: 4 kB / 0.795 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.198, allocations: 7.984 kB / 0.795 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.2003, allocations: 1.487 MB / 0.7965 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2003, allocations: 0 / 0.7965 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.2007, allocations: 63.89 kB / 0.7965 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006527/0.2014, allocations: 210.6 kB / 0.7967 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.2014, allocations: 8.047 kB / 0.7967 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005032/0.2064, allocations: 5.281 MB / 0.8019 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2064, allocations: 4.031 kB / 0.8019 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.2082, allocations: 1.136 MB / 0.803 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.2084, allocations: 180.6 kB / 0.8032 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.2084, allocations: 12 kB / 0.8032 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.2088, allocations: 23.97 kB / 0.8032 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.2088, allocations: 36.02 kB / 0.8032 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.2089, allocations: 12 kB / 0.8033 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003304/0.2092, allocations: 318.9 kB / 0.8036 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2092, allocations: 0 / 0.8036 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005971/0.2098, allocations: 168 kB / 0.8037 GB, free: 2.152 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002021/0.2118, allocations: 1.684 MB / 0.8054 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.2134, allocations: 0.9655 MB / 0.8063 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.2134, allocations: 4 kB / 0.8063 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009954/0.2144, allocations: 0.668 MB / 0.807 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.2152, allocations: 186.7 kB / 0.8071 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007548/0.2227, allocations: 5.637 MB / 0.8127 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.2233, allocations: 0.9494 MB / 0.8136 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002956/0.2236, allocations: 117 kB / 0.8137 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.2239, allocations: 211.4 kB / 0.8139 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of SimCode: time 4.3e-07/0.2239, allocations: 0 / 0.8139 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04904/0.2729, allocations: 14.34 MB / 0.8279 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.38, allocations: 6.344 kB / 0.8279 GB, free: 9.191 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_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_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.878910193001502]