Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 103.4 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.0013, allocations: 197 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.545/1.545, allocations: 292.3 MB / 0.5486 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 62.39 kB / 0.6711 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1655, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005686/0.1712, allocations: 5.523 MB / 0.7884 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.1744, allocations: 2.647 MB / 0.791 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1746, allocations: 19.88 kB / 0.791 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.1759, allocations: 0.6489 MB / 0.7916 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.1765, allocations: 378.1 kB / 0.792 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006362/0.1771, allocations: 379.2 kB / 0.7923 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007262/0.1779, allocations: 0.9591 MB / 0.7933 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.1784, allocations: 0.5105 MB / 0.7938 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.1787, allocations: 370.6 kB / 0.7941 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.1791, allocations: 410.4 kB / 0.7945 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.1792, allocations: 51.94 kB / 0.7946 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.1796, allocations: 367.2 kB / 0.7949 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.1798, allocations: 247.3 kB / 0.7952 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.18, allocations: 358.1 kB / 0.7955 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007564/0.1808, allocations: 0.9851 MB / 0.7965 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1808, allocations: 4 kB / 0.7965 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of FrontEnd: time 6.71e-07/0.1808, allocations: 4 kB / 0.7965 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.1808, allocations: 0 / 0.7965 GB, free: 15.92 MB / 0.6231 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.001169/0.182, allocations: 0.9736 MB / 0.7974 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.077e-05/0.182, allocations: 8.031 kB / 0.7974 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.365e-05/0.1821, allocations: 98.7 kB / 0.7975 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.1833, allocations: 199.9 kB / 0.7977 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000552/0.1839, allocations: 0.4905 MB / 0.7982 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1839, allocations: 37.36 kB / 0.7982 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.1841, allocations: 56.55 kB / 0.7983 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009815/0.1851, allocations: 0.8316 MB / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1851, allocations: 7.938 kB / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.1852, allocations: 27.98 kB / 0.7991 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/0.1853, allocations: 60.95 kB / 0.7992 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007524/0.1861, allocations: 0.5736 MB / 0.7997 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.1896, allocations: 4.573 MB / 0.8042 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.19, allocations: 299.2 kB / 0.8045 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.1903, allocations: 225.3 kB / 0.8047 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.1903, allocations: 8.219 kB / 0.8047 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1904, allocations: 38.83 kB / 0.8048 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 3.226e-06/0.1904, allocations: 0 / 0.8048 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.004807/0.1952, allocations: 2.634 MB / 0.8073 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.1952, allocations: 59.41 kB / 0.8074 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.1956, allocations: 462 kB / 0.8078 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.1957, allocations: 33.7 kB / 0.8079 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1958, allocations: 339.7 kB / 0.8082 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.599e-05/0.1959, allocations: 153.9 kB / 0.8083 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.1961, allocations: 102.2 kB / 0.8084 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1962, allocations: 362.8 kB / 0.8088 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.1965, allocations: 237 kB / 0.809 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.1969, allocations: 413.5 kB / 0.8094 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.1977, allocations: 0.674 MB / 0.81 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1977, allocations: 0 / 0.81 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001428/0.1991, allocations: 0.9246 MB / 0.811 GB, free: 188 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1991, allocations: 8 kB / 0.811 GB, free: 180 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1991, allocations: 4 kB / 0.811 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007057/0.1998, allocations: 235.1 kB / 0.8112 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.2003, allocations: 111.8 kB / 0.8113 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004296/0.2046, allocations: 5.339 MB / 0.8165 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.205, allocations: 32.03 kB / 0.8165 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.2051, allocations: 27.98 kB / 0.8166 GB, free: 10.01 MB / 0.6387 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.0002369/0.2053, allocations: 218 kB / 0.8168 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.2054, allocations: 59.28 kB / 0.8168 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.2067, allocations: 0.778 MB / 0.8176 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.2067, allocations: 4 kB / 0.8176 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2067, allocations: 4.188 kB / 0.8176 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2067, allocations: 7.984 kB / 0.8176 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.2088, allocations: 1.502 MB / 0.8191 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.2088, allocations: 4 kB / 0.8191 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.2092, allocations: 67.89 kB / 0.8191 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006066/0.2098, allocations: 206.6 kB / 0.8193 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.2098, allocations: 12 kB / 0.8193 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004077/0.2139, allocations: 5.27 MB / 0.8245 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2139, allocations: 0 / 0.8245 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.2154, allocations: 1.15 MB / 0.8256 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.2156, allocations: 172.5 kB / 0.8258 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.2157, allocations: 12 kB / 0.8258 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.216, allocations: 23.97 kB / 0.8258 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.2161, allocations: 39.95 kB / 0.8259 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.2161, allocations: 16 kB / 0.8259 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002866/0.2164, allocations: 318.8 kB / 0.8262 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2164, allocations: 0 / 0.8262 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005705/0.217, allocations: 168 kB / 0.8263 GB, free: 15.38 MB / 0.6544 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.001762/0.2188, allocations: 1.692 MB / 0.828 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.2202, allocations: 1.063 MB / 0.829 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2203, allocations: 0 / 0.829 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008184/0.2211, allocations: 0.6837 MB / 0.8297 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007686/0.2219, allocations: 186.7 kB / 0.8299 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/0.2286, allocations: 5.935 MB / 0.8357 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.229, allocations: 0.9571 MB / 0.8366 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003206/0.2293, allocations: 109 kB / 0.8367 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.2296, allocations: 215.4 kB / 0.8369 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.2296, allocations: 0 / 0.8369 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.631/5.861, allocations: 14 MB / 0.8506 GB, free: 6.441 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/5.861, allocations: 239.5 kB / 0.8508 GB, free: 6.191 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/7.939, allocations: 4.281 kB / 0.8508 GB, free: 6.191 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)