Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.388/1.388, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009974/0.0009975, allocations: 182.5 kB / 325.8 MB, free: 2.68 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.637/1.637, allocations: 205 MB / 0.576 GB, free: 20.98 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.0009408/0.0009409, allocations: 89.23 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 13.03 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1729, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02307/0.196, allocations: 32.55 MB / 0.928 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.212, allocations: 14.87 MB / 0.9425 GB, free: 20.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.214, allocations: 139.2 kB / 0.9426 GB, free: 20.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00593/0.22, allocations: 3.38 MB / 0.9459 GB, free: 16.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005265/0.2252, allocations: 2.672 MB / 0.9486 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.2293, allocations: 2.13 MB / 0.9506 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007997/0.2373, allocations: 12.15 MB / 0.9625 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.2494, allocations: 10.3 MB / 0.9725 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005127/0.2545, allocations: 3.008 MB / 0.9755 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005266/0.2598, allocations: 3.503 MB / 0.9789 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007073/0.2605, allocations: 296 kB / 0.9792 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.2638, allocations: 1.564 MB / 0.9807 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002185/0.266, allocations: 2.275 MB / 0.9829 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003169/0.2691, allocations: 2.756 MB / 0.9856 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.009697/0.2788, allocations: 10.65 MB / 0.996 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2789, allocations: 3.938 kB / 0.996 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2789, allocations: 0 / 0.996 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002531/0.2791, allocations: 4 kB / 0.996 GB, free: 13.43 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.008617/0.2878, allocations: 4.825 MB / 1.001 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2878, allocations: 8.031 kB / 1.001 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001077/0.2889, allocations: 0.7349 MB / 1.001 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005541/0.2945, allocations: 1.149 MB / 1.003 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005301/0.2998, allocations: 3.321 MB / 1.006 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.3, allocations: 378.4 kB / 1.006 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006605/0.3007, allocations: 499.8 kB / 1.007 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.3116, allocations: 8.001 MB / 1.014 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.3118, allocations: 31.75 kB / 1.015 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000433/0.3122, allocations: 216 kB / 1.015 GB, free: 9.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008794/0.3131, allocations: 437.6 kB / 1.015 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008476/0.3216, allocations: 6.081 MB / 1.021 GB, free: 3.316 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3648/0.6864, allocations: 35.2 MB / 1.055 GB, free: 128 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.6887, allocations: 2.026 MB / 1.057 GB, free: 128 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.6907, allocations: 1.844 MB / 1.059 GB, free: 127.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.6909, allocations: 30.52 kB / 1.059 GB, free: 127.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.6909, allocations: 54.73 kB / 1.059 GB, free: 127.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 3.797e-06/0.6909, allocations: 0 / 1.059 GB, free: 127.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 0.1262/0.8171, allocations: 39.02 MB / 1.097 GB, free: 115.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.8172, allocations: 84.64 kB / 1.098 GB, free: 115.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.8193, allocations: 2.282 MB / 1.1 GB, free: 112.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.8194, allocations: 69.7 kB / 1.1 GB, free: 112.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000761/0.8202, allocations: 2.278 MB / 1.102 GB, free: 110.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.8206, allocations: 0.9381 MB / 1.103 GB, free: 109.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.8209, allocations: 227.8 kB / 1.103 GB, free: 109.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.8209, allocations: 305.1 kB / 1.103 GB, free: 109 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.8229, allocations: 1.973 MB / 1.105 GB, free: 107 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.8251, allocations: 2.602 MB / 1.108 GB, free: 104.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004788/0.8299, allocations: 4.932 MB / 1.113 GB, free: 98.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.118e-06/0.8299, allocations: 4 kB / 1.113 GB, free: 98.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01117/0.8411, allocations: 7.751 MB / 1.12 GB, free: 91.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.8412, allocations: 15.94 kB / 1.12 GB, free: 91.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.8412, allocations: 16 kB / 1.12 GB, free: 91.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007487/0.8487, allocations: 3.227 MB / 1.123 GB, free: 87.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.85, allocations: 398.3 kB / 1.124 GB, free: 87.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02935/0.8794, allocations: 31.17 MB / 1.154 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.8817, allocations: 167.8 kB / 1.154 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.8819, allocations: 108 kB / 1.155 GB, free: 55.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00261/0.8846, allocations: 1.797 MB / 1.156 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005413/0.8851, allocations: 328.2 kB / 1.157 GB, free: 53.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.8956, allocations: 7.357 MB / 1.164 GB, free: 45.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.8957, allocations: 31.94 kB / 1.164 GB, free: 45.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.175e-05/0.8957, allocations: 28 kB / 1.164 GB, free: 45.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.8957, allocations: 11.95 kB / 1.164 GB, free: 45.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/0.9127, allocations: 12.94 MB / 1.177 GB, free: 32.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.9127, allocations: 8 kB / 1.177 GB, free: 32.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.9134, allocations: 231.6 kB / 1.177 GB, free: 32.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006566/0.92, allocations: 2.849 MB / 1.18 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/0.9202, allocations: 56 kB / 1.18 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02929/0.9495, allocations: 29.98 MB / 1.209 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.9495, allocations: 7.938 kB / 1.209 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.9616, allocations: 6.885 MB / 1.216 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/0.9632, allocations: 0.786 MB / 1.216 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006648/0.9639, allocations: 52 kB / 1.216 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.9657, allocations: 171.8 kB / 1.217 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000777/0.9665, allocations: 253.4 kB / 1.217 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/0.9667, allocations: 76 kB / 1.217 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002322/0.969, allocations: 1.518 MB / 1.218 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/0.969, allocations: 0 / 1.218 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003735/0.9728, allocations: 1.359 MB / 1.22 GB, free: 3.297 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01195/0.9847, allocations: 7.514 MB / 1.227 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01061/0.9954, allocations: 6.896 MB / 1.234 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.9954, allocations: 4.688 kB / 1.234 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006861/1.002, allocations: 4.431 MB / 1.238 GB, free: 56 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006551/1.009, allocations: 1.041 MB / 1.239 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07456/1.083, allocations: 46.02 MB / 1.284 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004846/1.088, allocations: 3.643 MB / 1.288 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003291/1.092, allocations: 0.5556 MB / 1.288 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003354/1.095, allocations: 1.968 MB / 1.29 GB, free: 8.133 MB / 0.7917 GB Notification: Performance of SimCode: time 9.01e-07/1.095, allocations: 0 / 1.29 GB, free: 8.133 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.026/2.121, allocations: 107.9 MB / 1.395 GB, free: 285.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/2.121, allocations: 258.6 kB / 1.396 GB, free: 285.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.702/6.823, allocations: 0 / 1.396 GB, free: 285.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)