Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_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.001232/0.001232, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 294.5 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9139/0.9139, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 102.5 kB / 0.5954 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1449, allocations: 86.97 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007709/0.1526, allocations: 5.53 MB / 0.6857 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005149/0.1578, allocations: 2.642 MB / 0.6883 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000533/0.1584, allocations: 23.81 kB / 0.6883 GB, free: 8.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.1605, allocations: 0.6782 MB / 0.689 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.1615, allocations: 413.7 kB / 0.6893 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009866/0.1625, allocations: 412.3 kB / 0.6897 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009584/0.1635, allocations: 0.9592 MB / 0.6907 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006008/0.1641, allocations: 466.5 kB / 0.6911 GB, free: 5.477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.1645, allocations: 378.6 kB / 0.6915 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.165, allocations: 402.4 kB / 0.6919 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.592e-05/0.165, allocations: 48 kB / 0.6919 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006121/0.1657, allocations: 359.3 kB / 0.6923 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.1659, allocations: 251.2 kB / 0.6925 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.1662, allocations: 350.3 kB / 0.6928 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009057/0.1671, allocations: 0.9617 MB / 0.6938 GB, free: 2.758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1671, allocations: 0 / 0.6938 GB, free: 2.758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1671, allocations: 0 / 0.6938 GB, free: 2.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1672, allocations: 0 / 0.6938 GB, free: 2.758 MB / 494.1 MB 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.00153/0.1687, allocations: 0.9814 MB / 0.6947 GB, free: 1.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1687, allocations: 12.03 kB / 0.6947 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.1689, allocations: 94.69 kB / 0.6948 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.1702, allocations: 199.8 kB / 0.695 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.1709, allocations: 494.4 kB / 0.6955 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.171, allocations: 37.36 kB / 0.6955 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.1711, allocations: 64.45 kB / 0.6956 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.1721, allocations: 0.8245 MB / 0.6964 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1722, allocations: 3.938 kB / 0.6964 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.1722, allocations: 31.98 kB / 0.6964 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.1724, allocations: 68.94 kB / 0.6965 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008791/0.1733, allocations: 0.5658 MB / 0.697 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00414/0.1775, allocations: 4.593 MB / 0.7015 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.1779, allocations: 298.2 kB / 0.7018 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.1782, allocations: 225.3 kB / 0.702 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1783, allocations: 4.281 kB / 0.702 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1783, allocations: 42.84 kB / 0.7021 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.1783, allocations: 0 / 0.7021 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005386/0.1837, allocations: 2.62 MB / 0.7046 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1837, allocations: 63.39 kB / 0.7047 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.1842, allocations: 466 kB / 0.7051 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.1842, allocations: 33.7 kB / 0.7052 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1844, allocations: 343.6 kB / 0.7055 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.1846, allocations: 145.9 kB / 0.7056 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.1847, allocations: 102.2 kB / 0.7057 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1848, allocations: 366.8 kB / 0.7061 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.1852, allocations: 233 kB / 0.7063 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.1856, allocations: 416 kB / 0.7067 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008319/0.1865, allocations: 0.6818 MB / 0.7074 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1865, allocations: 0 / 0.7074 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001631/0.1881, allocations: 0.9175 MB / 0.7083 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1882, allocations: 12.12 kB / 0.7083 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1882, allocations: 8 kB / 0.7083 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/0.189, allocations: 222.3 kB / 0.7085 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.1895, allocations: 119.8 kB / 0.7086 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/0.1943, allocations: 5.332 MB / 0.7138 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.1948, allocations: 31.97 kB / 0.7138 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.1948, allocations: 20 kB / 0.7139 GB, free: 12.86 MB / 0.5137 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.000278/0.1951, allocations: 230.4 kB / 0.7141 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.933e-05/0.1952, allocations: 63.19 kB / 0.7141 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.1967, allocations: 0.7658 MB / 0.7149 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1967, allocations: 8 kB / 0.7149 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1967, allocations: 4 kB / 0.7149 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1967, allocations: 3.938 kB / 0.7149 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.1991, allocations: 1.494 MB / 0.7164 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1991, allocations: 3.984 kB / 0.7164 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.1995, allocations: 72.2 kB / 0.7164 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006768/0.2002, allocations: 210.3 kB / 0.7166 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.2002, allocations: 8.188 kB / 0.7167 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004864/0.2051, allocations: 5.278 MB / 0.7218 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.2051, allocations: 7.969 kB / 0.7218 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.2068, allocations: 1.124 MB / 0.7229 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.2071, allocations: 180.3 kB / 0.7231 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.78e-05/0.2072, allocations: 16.06 kB / 0.7231 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.2075, allocations: 23.97 kB / 0.7231 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.2076, allocations: 35.89 kB / 0.7232 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.2076, allocations: 12 kB / 0.7232 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003393/0.208, allocations: 314.9 kB / 0.7235 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.208, allocations: 0 / 0.7235 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006659/0.2087, allocations: 164 kB / 0.7236 GB, free: 2.262 MB / 0.5137 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.002085/0.2108, allocations: 1.707 MB / 0.7253 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001772/0.2125, allocations: 1.049 MB / 0.7263 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.2126, allocations: 4 kB / 0.7263 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.2136, allocations: 0.6799 MB / 0.727 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000898/0.2145, allocations: 187.2 kB / 0.7272 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008164/0.2227, allocations: 5.709 MB / 0.7327 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.2232, allocations: 0.9494 MB / 0.7337 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003835/0.2236, allocations: 116.9 kB / 0.7338 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.2239, allocations: 211.4 kB / 0.734 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.2239, allocations: 7.938 kB / 0.734 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.63/1.853, allocations: 14.04 MB / 0.7477 GB, free: 9.465 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.675/11.53, allocations: 17.7 kB / 0.7477 GB, free: 9.453 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)