Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) 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_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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: 111.3 kB / 15.23 MB, free: 0.6602 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.001258/0.001258, allocations: 195.9 kB / 16.14 MB, free: 6.672 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001959, allocations: 290.5 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.888/0.888, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 87.64 kB / 0.5946 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1477, allocations: 86.99 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007293/0.1551, allocations: 6.144 MB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004203/0.1593, allocations: 3.189 MB / 0.6887 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.1595, allocations: 27.81 kB / 0.6887 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.1614, allocations: 0.8752 MB / 0.6895 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006548/0.1621, allocations: 442 kB / 0.69 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.1628, allocations: 451.1 kB / 0.6904 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.1639, allocations: 1.467 MB / 0.6918 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007607/0.1647, allocations: 0.6325 MB / 0.6925 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.1651, allocations: 390.3 kB / 0.6928 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.1655, allocations: 486.1 kB / 0.6933 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.1656, allocations: 47.94 kB / 0.6933 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007327/0.1664, allocations: 0.5809 MB / 0.6939 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.1666, allocations: 275.3 kB / 0.6942 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.1669, allocations: 385.9 kB / 0.6945 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009578/0.1679, allocations: 1.184 MB / 0.6957 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1679, allocations: 0 / 0.6957 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1679, allocations: 0 / 0.6957 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1679, allocations: 4 kB / 0.6957 GB, free: 0.5234 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001327/0.1692, allocations: 1.063 MB / 0.6967 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1693, allocations: 12.03 kB / 0.6967 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.1694, allocations: 110.7 kB / 0.6968 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.1707, allocations: 223.6 kB / 0.6971 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.1714, allocations: 0.5414 MB / 0.6976 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.1715, allocations: 49.67 kB / 0.6976 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.1715, allocations: 60.36 kB / 0.6977 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.1728, allocations: 1.03 MB / 0.6987 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.1728, allocations: 15.83 kB / 0.6987 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/0.1729, allocations: 35.97 kB / 0.6987 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.902e-05/0.173, allocations: 65.28 kB / 0.6988 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009213/0.1739, allocations: 0.6918 MB / 0.6995 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/0.178, allocations: 5.745 MB / 0.7051 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/0.1788, allocations: 0.5988 MB / 0.7057 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000678/0.1795, allocations: 423.1 kB / 0.7061 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1795, allocations: 4 kB / 0.7061 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.1796, allocations: 50.44 kB / 0.7061 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.403e-06/0.1796, allocations: 0 / 0.7061 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.003865/0.1834, allocations: 2.057 MB / 0.7081 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1835, allocations: 55.41 kB / 0.7082 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.1839, allocations: 462.8 kB / 0.7086 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1839, allocations: 29.7 kB / 0.7087 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.1841, allocations: 395 kB / 0.709 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1842, allocations: 145.9 kB / 0.7092 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.1844, allocations: 114.2 kB / 0.7093 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1845, allocations: 370.8 kB / 0.7096 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.1848, allocations: 241.2 kB / 0.7099 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.1853, allocations: 461 kB / 0.7103 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008147/0.1861, allocations: 0.7517 MB / 0.711 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1861, allocations: 4 kB / 0.7111 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001671/0.1878, allocations: 1.066 MB / 0.7121 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1878, allocations: 8 kB / 0.7121 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1878, allocations: 8 kB / 0.7121 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000963/0.1888, allocations: 331.7 kB / 0.7124 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.1891, allocations: 95.81 kB / 0.7125 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/0.1951, allocations: 6.95 MB / 0.7193 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.1954, allocations: 28.02 kB / 0.7193 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.1954, allocations: 32 kB / 0.7194 GB, free: 6.688 MB / 0.5137 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.0002578/0.1957, allocations: 255.5 kB / 0.7196 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.1958, allocations: 55.34 kB / 0.7197 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.1974, allocations: 0.9237 MB / 0.7206 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1974, allocations: 4 kB / 0.7206 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1974, allocations: 4.188 kB / 0.7206 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1974, allocations: 7.984 kB / 0.7206 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.1998, allocations: 1.704 MB / 0.7222 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1998, allocations: 4 kB / 0.7222 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.1999, allocations: 43.91 kB / 0.7223 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000888/0.2008, allocations: 323.2 kB / 0.7226 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.2009, allocations: 8 kB / 0.7226 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005974/0.2069, allocations: 6.943 MB / 0.7294 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2069, allocations: 0 / 0.7294 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.2084, allocations: 1.015 MB / 0.7304 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.2086, allocations: 176.3 kB / 0.7305 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.2086, allocations: 15.94 kB / 0.7306 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.2089, allocations: 27.91 kB / 0.7306 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.209, allocations: 39.89 kB / 0.7306 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.209, allocations: 16 kB / 0.7306 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002957/0.2093, allocations: 310.9 kB / 0.7309 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2093, allocations: 0 / 0.7309 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006261/0.21, allocations: 196 kB / 0.7311 GB, free: 9.914 MB / 0.5294 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.001746/0.2117, allocations: 1.552 MB / 0.7326 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.2133, allocations: 1.207 MB / 0.7338 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2133, allocations: 4 kB / 0.7338 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.2144, allocations: 0.8658 MB / 0.7347 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.2153, allocations: 189.4 kB / 0.7348 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007207/0.2225, allocations: 6.269 MB / 0.741 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.223, allocations: 1.004 MB / 0.7419 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002584/0.2233, allocations: 101.3 kB / 0.742 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.2235, allocations: 231.4 kB / 0.7423 GB, free: 13.99 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.2235, allocations: 0 / 0.7423 GB, free: 13.99 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.2496, allocations: 14.84 MB / 0.7568 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/0.2499, allocations: 254.6 kB / 0.757 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.077, allocations: 0 / 0.757 GB, free: 15.2 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)