Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.81/2.81, allocations: 287.3 MB / 302.3 MB, free: 8.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 173.4 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 78.94 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004818, allocations: 12.45 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2272, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04452/0.2718, allocations: 30.65 MB / 1.008 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02633/0.2982, allocations: 11.05 MB / 1.019 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.3013, allocations: 131.2 kB / 1.019 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003228/0.3046, allocations: 0.6988 MB / 1.02 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006464/0.3111, allocations: 1.332 MB / 1.021 GB, free: 312 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006971/0.3181, allocations: 1.455 MB / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00934/0.3275, allocations: 3.87 MB / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03108/0.3586, allocations: 12.54 MB / 1.039 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00594/0.3646, allocations: 2.297 MB / 1.041 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006273/0.3709, allocations: 2.367 MB / 1.043 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001613/0.3726, allocations: 328 kB / 1.043 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003926/0.3765, allocations: 0.8232 MB / 1.044 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004416/0.381, allocations: 2.253 MB / 1.046 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002923/0.384, allocations: 1.104 MB / 1.048 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.4, allocations: 9.775 MB / 1.057 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4001, allocations: 0 / 1.057 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.326e-06/0.4001, allocations: 0 / 1.057 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000386/0.4005, allocations: 0 / 1.057 GB, free: 11.36 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01634/0.4169, allocations: 4.683 MB / 1.062 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.4169, allocations: 11.97 kB / 1.062 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003274/0.4202, allocations: 0.8049 MB / 1.062 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008803/0.4291, allocations: 1.024 MB / 1.063 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.4395, allocations: 3.196 MB / 1.067 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005474/0.4401, allocations: 411.1 kB / 1.067 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002326/0.4425, allocations: 0.5428 MB / 1.067 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.654/1.097, allocations: 8.977 MB / 1.076 GB, free: 75.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003879/1.097, allocations: 37.08 kB / 1.076 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001901/1.099, allocations: 233.9 kB / 1.077 GB, free: 75.67 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008116/1.1, allocations: 355.5 kB / 1.077 GB, free: 75.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02273/1.122, allocations: 6.781 MB / 1.083 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06372/1.186, allocations: 40.18 MB / 1.123 GB, free: 39.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008339/1.195, allocations: 3.107 MB / 1.126 GB, free: 37.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/1.195, allocations: 22.75 kB / 1.126 GB, free: 37.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/1.195, allocations: 50.72 kB / 1.126 GB, free: 37.08 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=179): time 5.44e-06/1.195, allocations: 0 / 1.126 GB, free: 37.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.04292/1.238, allocations: 9.86 MB / 1.135 GB, free: 31.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.238, allocations: 70.19 kB / 1.136 GB, free: 31.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/1.241, allocations: 1.508 MB / 1.137 GB, free: 30.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003648/1.241, allocations: 56.08 kB / 1.137 GB, free: 30.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001599/1.243, allocations: 2.26 MB / 1.139 GB, free: 28.51 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008932/1.244, allocations: 0.6267 MB / 1.14 GB, free: 27.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/1.244, allocations: 45.94 kB / 1.14 GB, free: 27.94 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.244, allocations: 395.4 kB / 1.14 GB, free: 27.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002841/1.247, allocations: 1.17 MB / 1.141 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/1.251, allocations: 1.862 MB / 1.143 GB, free: 25.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/1.254, allocations: 1.508 MB / 1.145 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.376e-05/1.254, allocations: 7.812 kB / 1.145 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.0125/1.267, allocations: 4.558 MB / 1.149 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/1.267, allocations: 14.09 kB / 1.149 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.844e-05/1.267, allocations: 22.72 kB / 1.149 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006336/1.273, allocations: 1.596 MB / 1.151 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/1.276, allocations: 359.3 kB / 1.151 GB, free: 20.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03261/1.308, allocations: 17.68 MB / 1.168 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/1.311, allocations: 123.9 kB / 1.168 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003451/1.311, allocations: 99.98 kB / 1.169 GB, free: 1.898 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00449/1.316, allocations: 1.898 MB / 1.17 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007865/1.317, allocations: 221.4 kB / 1.171 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.329, allocations: 4.075 MB / 1.175 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/1.329, allocations: 19.98 kB / 1.175 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.633e-05/1.329, allocations: 16 kB / 1.175 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.667e-05/1.329, allocations: 11.97 kB / 1.175 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02889/1.358, allocations: 9.44 MB / 1.184 GB, free: 1.965 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.14e-05/1.358, allocations: 4 kB / 1.184 GB, free: 1.961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/1.361, allocations: 183.7 kB / 1.184 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006639/1.368, allocations: 1.347 MB / 1.185 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003407/1.368, allocations: 36 kB / 1.185 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03782/1.406, allocations: 16.55 MB / 1.202 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/1.406, allocations: 7.938 kB / 1.202 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.419, allocations: 4.346 MB / 1.206 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/1.421, allocations: 0.5333 MB / 1.206 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007566/1.422, allocations: 39.98 kB / 1.206 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/1.424, allocations: 87.89 kB / 1.206 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007884/1.425, allocations: 161.7 kB / 1.207 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/1.425, allocations: 48 kB / 1.207 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00251/1.428, allocations: 0.9851 MB / 1.208 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.042e-06/1.428, allocations: 0 / 1.208 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005609/1.433, allocations: 0.9844 MB / 1.209 GB, free: 7.844 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01664/1.45, allocations: 6.1 MB / 1.215 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01337/1.463, allocations: 4.298 MB / 1.219 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.463, allocations: 0 / 1.219 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.008271/1.472, allocations: 2.665 MB / 1.221 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005716/1.478, allocations: 0.6812 MB / 1.222 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07272/1.55, allocations: 37.85 MB / 1.259 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007597/1.558, allocations: 3.664 MB / 1.263 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002469/1.56, allocations: 459.9 kB / 1.263 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003898/1.564, allocations: 1.796 MB / 1.265 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of SimCode: time 1.603e-06/1.564, allocations: 0 / 1.265 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1895/1.754, allocations: 70.47 MB / 1.334 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003432/1.754, allocations: 234.6 kB / 1.334 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.497/6.251, allocations: 4 kB / 1.334 GB, free: 6.477 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)