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 1.674/1.674, allocations: 287.4 MB / 302.5 MB, free: 8.254 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.001087/0.001087, allocations: 186.4 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.001019/0.001019, allocations: 92.41 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003682, allocations: 12.55 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2111, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02628/0.2374, allocations: 31.65 MB / 1.01 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01893/0.2564, allocations: 11.04 MB / 1.02 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.2595, allocations: 139.2 kB / 1.021 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.2617, allocations: 0.6782 MB / 1.021 GB, free: 464 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004761/0.2665, allocations: 1.582 MB / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004533/0.271, allocations: 1.424 MB / 1.024 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01121/0.2822, allocations: 9.706 MB / 1.034 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0208/0.3031, allocations: 14.14 MB / 1.047 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005096/0.3082, allocations: 2.65 MB / 1.05 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006047/0.3143, allocations: 3.477 MB / 1.053 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.3157, allocations: 328 kB / 1.054 GB, free: 15 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.3194, allocations: 0.9715 MB / 1.055 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003946/0.3234, allocations: 2.44 MB / 1.057 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003345/0.3267, allocations: 1.104 MB / 1.058 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01396/0.3407, allocations: 9.923 MB / 1.068 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.3408, allocations: 0 / 1.068 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.316e-06/0.3408, allocations: 8 kB / 1.068 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004342/0.3412, allocations: 0 / 1.068 GB, free: 0.5078 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.4133/0.7545, allocations: 4.652 MB / 1.072 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.7546, allocations: 9.688 kB / 1.072 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002154/0.7568, allocations: 0.8037 MB / 1.073 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006138/0.7629, allocations: 1.066 MB / 1.074 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006306/0.7692, allocations: 3.264 MB / 1.077 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003685/0.7696, allocations: 409.6 kB / 1.078 GB, free: 78.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001557/0.7712, allocations: 0.541 MB / 1.078 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01799/0.7892, allocations: 9.032 MB / 1.087 GB, free: 74.69 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004028/0.7896, allocations: 39.19 kB / 1.087 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001601/0.7912, allocations: 236.9 kB / 1.087 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007608/0.792, allocations: 349.9 kB / 1.088 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/0.8093, allocations: 6.78 MB / 1.094 GB, free: 72.11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04145/0.8508, allocations: 40.19 MB / 1.134 GB, free: 36.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.8543, allocations: 3.099 MB / 1.137 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002445/0.8568, allocations: 1.958 MB / 1.139 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.8569, allocations: 19.62 kB / 1.139 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.8569, allocations: 51.31 kB / 1.139 GB, free: 33.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=179): time 3.627e-06/0.857, allocations: 0 / 1.139 GB, free: 33.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.02112/0.8781, allocations: 10.01 MB / 1.148 GB, free: 26.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.8782, allocations: 73.41 kB / 1.148 GB, free: 26.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.8796, allocations: 1.511 MB / 1.15 GB, free: 24.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.199e-05/0.8797, allocations: 57.7 kB / 1.15 GB, free: 24.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007243/0.8804, allocations: 2.25 MB / 1.152 GB, free: 22.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.8808, allocations: 0.6331 MB / 1.153 GB, free: 21.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.8809, allocations: 44 kB / 1.153 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.881, allocations: 402.3 kB / 1.153 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.8823, allocations: 1.172 MB / 1.154 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.8837, allocations: 1.873 MB / 1.156 GB, free: 17.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.8865, allocations: 3.36 MB / 1.16 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.8865, allocations: 4 kB / 1.16 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00565/0.8922, allocations: 4.557 MB / 1.164 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.8922, allocations: 18.5 kB / 1.164 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.8922, allocations: 20 kB / 1.164 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003085/0.8953, allocations: 1.589 MB / 1.166 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.8964, allocations: 351.3 kB / 1.166 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.9156, allocations: 17.05 MB / 1.183 GB, free: 5.875 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/0.9179, allocations: 119.9 kB / 1.183 GB, free: 5.758 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.9181, allocations: 95.98 kB / 1.183 GB, free: 5.664 MB / 0.698 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.004117/0.9223, allocations: 1.89 MB / 1.185 GB, free: 3.762 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/0.9228, allocations: 229.4 kB / 1.185 GB, free: 3.535 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007172/0.93, allocations: 4.081 MB / 1.189 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.93, allocations: 20 kB / 1.189 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/0.9301, allocations: 16 kB / 1.189 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/0.9301, allocations: 11.95 kB / 1.189 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.9456, allocations: 9.443 MB / 1.198 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.9456, allocations: 4.25 kB / 1.198 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/0.9465, allocations: 183.7 kB / 1.198 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003336/0.9498, allocations: 1.352 MB / 1.2 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/0.95, allocations: 36 kB / 1.2 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/0.9698, allocations: 15.96 MB / 1.215 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.9699, allocations: 4 kB / 1.215 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00668/0.9766, allocations: 4.058 MB / 1.219 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.9778, allocations: 0.5331 MB / 1.22 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.978, allocations: 36 kB / 1.22 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008841/0.9789, allocations: 83.89 kB / 1.22 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004175/0.9794, allocations: 173.6 kB / 1.22 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.982e-05/0.9795, allocations: 48 kB / 1.22 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001283/0.9808, allocations: 0.989 MB / 1.221 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9808, allocations: 0 / 1.221 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003107/0.9839, allocations: 0.9844 MB / 1.222 GB, free: 12.63 MB / 0.7448 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.006811/0.9907, allocations: 4.648 MB / 1.226 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006991/0.9977, allocations: 4.279 MB / 1.231 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.9978, allocations: 0 / 1.231 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004311/1.002, allocations: 2.675 MB / 1.233 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004114/1.006, allocations: 0.6931 MB / 1.234 GB, free: 152 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03604/1.042, allocations: 22.87 MB / 1.256 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004457/1.047, allocations: 3.584 MB / 1.26 GB, free: 4.352 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001521/1.048, allocations: 459.9 kB / 1.26 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/1.05, allocations: 1.792 MB / 1.262 GB, free: 2.105 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/1.05, allocations: 0 / 1.262 GB, free: 2.105 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3232/1.374, allocations: 70.5 MB / 1.331 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/1.374, allocations: 237.5 kB / 1.331 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.646/5.02, allocations: 2.672 kB / 1.331 GB, free: 11.96 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)