Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.323/1.323, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009046/0.0009045, allocations: 184.8 kB / 325.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007418/0.0007418, allocations: 101.1 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 8.688 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1698, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004009/0.1738, allocations: 5.216 MB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.1765, allocations: 2.686 MB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.1767, allocations: 19.88 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.1779, allocations: 0.6344 MB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004922/0.1784, allocations: 378.1 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.1789, allocations: 386.1 kB / 0.9053 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006439/0.1796, allocations: 1.244 MB / 0.9065 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004646/0.18, allocations: 454 kB / 0.9069 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.1803, allocations: 322.5 kB / 0.9072 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.1806, allocations: 382.4 kB / 0.9076 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.1807, allocations: 28 kB / 0.9076 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004172/0.1811, allocations: 435.1 kB / 0.908 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.1812, allocations: 223.4 kB / 0.9083 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.1814, allocations: 314.2 kB / 0.9086 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.182, allocations: 0.9614 MB / 0.9095 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.182, allocations: 3.938 kB / 0.9095 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/0.182, allocations: 0 / 0.9095 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.182, allocations: 0 / 0.9095 GB, free: 54.37 MB / 0.6042 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.0009456/0.183, allocations: 0.8492 MB / 0.9103 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.183, allocations: 11.97 kB / 0.9103 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.661e-05/0.1831, allocations: 106.7 kB / 0.9104 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.1842, allocations: 191.8 kB / 0.9106 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.1847, allocations: 490.5 kB / 0.9111 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1847, allocations: 41.36 kB / 0.9111 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.1848, allocations: 52.56 kB / 0.9112 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007574/0.1856, allocations: 0.8277 MB / 0.912 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1856, allocations: 11.84 kB / 0.912 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.1857, allocations: 27.98 kB / 0.912 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.1858, allocations: 60.95 kB / 0.9121 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.1865, allocations: 0.5736 MB / 0.9126 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.1891, allocations: 4.593 MB / 0.9171 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.1895, allocations: 299.2 kB / 0.9174 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.1897, allocations: 229.3 kB / 0.9176 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1897, allocations: 4.281 kB / 0.9176 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.1897, allocations: 38.84 kB / 0.9177 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.1897, allocations: 0 / 0.9177 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004171/0.1939, allocations: 2.632 MB / 0.9203 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.757e-05/0.1939, allocations: 55.41 kB / 0.9203 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.1942, allocations: 466 kB / 0.9207 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1943, allocations: 37.7 kB / 0.9208 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1944, allocations: 343.6 kB / 0.9211 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.1945, allocations: 141.9 kB / 0.9212 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.1945, allocations: 49.7 kB / 0.9213 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.5e-05/0.1946, allocations: 370.7 kB / 0.9216 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.1948, allocations: 233 kB / 0.9219 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.1951, allocations: 410.4 kB / 0.9223 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/0.1957, allocations: 0.674 MB / 0.9229 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1957, allocations: 8 kB / 0.9229 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001266/0.197, allocations: 0.9168 MB / 0.9238 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.197, allocations: 6.812 kB / 0.9238 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1971, allocations: 12.66 kB / 0.9238 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/0.1977, allocations: 222.4 kB / 0.9241 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.1981, allocations: 115.8 kB / 0.9242 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.2012, allocations: 4.945 MB / 0.929 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.2015, allocations: 31.97 kB / 0.929 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.2016, allocations: 20 kB / 0.929 GB, free: 33.05 MB / 0.6042 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.0001727/0.2018, allocations: 237.5 kB / 0.9293 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.2018, allocations: 59.25 kB / 0.9293 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.203, allocations: 0.7772 MB / 0.9301 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.203, allocations: 4 kB / 0.9301 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.203, allocations: 4 kB / 0.9301 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.203, allocations: 0 / 0.9301 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.2047, allocations: 1.498 MB / 0.9316 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2047, allocations: 0 / 0.9316 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/0.2051, allocations: 71.88 kB / 0.9316 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005569/0.2056, allocations: 206.5 kB / 0.9318 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.2057, allocations: 8 kB / 0.9318 GB, free: 30.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/0.2086, allocations: 4.876 MB / 0.9366 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2086, allocations: 3.938 kB / 0.9366 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.2099, allocations: 1.143 MB / 0.9377 GB, free: 23.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.21, allocations: 164.4 kB / 0.9379 GB, free: 23.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.2101, allocations: 11.98 kB / 0.9379 GB, free: 23.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.2104, allocations: 28.16 kB / 0.9379 GB, free: 23.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.2104, allocations: 39.95 kB / 0.9379 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.2105, allocations: 20 kB / 0.938 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002395/0.2107, allocations: 310.8 kB / 0.9383 GB, free: 23.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2107, allocations: 0 / 0.9383 GB, free: 23.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004653/0.2112, allocations: 172 kB / 0.9384 GB, free: 22.85 MB / 0.6042 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.001512/0.2127, allocations: 1.688 MB / 0.9401 GB, free: 21.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.2139, allocations: 1.012 MB / 0.9411 GB, free: 20.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2139, allocations: 0 / 0.9411 GB, free: 20.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000692/0.2146, allocations: 0.6799 MB / 0.9417 GB, free: 19.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.2154, allocations: 171.2 kB / 0.9419 GB, free: 19.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/0.221, allocations: 5.934 MB / 0.9477 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.2213, allocations: 0.9494 MB / 0.9486 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.2217, allocations: 121 kB / 0.9487 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.2219, allocations: 207.4 kB / 0.9489 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/0.2219, allocations: 0 / 0.9489 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4691/0.691, allocations: 13.37 MB / 0.962 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.6913, allocations: 254.6 kB / 0.9622 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.146, allocations: 2.5 kB / 0.9622 GB, free: 14.32 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)