Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009569, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00799/0.00799, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 292.7 MB / 0.5502 GB, free: 14.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000534/0.0005341, allocations: 20.11 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2049, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03265/0.2376, allocations: 32.08 MB / 0.8193 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02246/0.2601, allocations: 14.72 MB / 0.8337 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.2629, allocations: 135.2 kB / 0.8338 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.2647, allocations: 0.7248 MB / 0.8345 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006587/0.2713, allocations: 2.69 MB / 0.8372 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004338/0.2757, allocations: 1.992 MB / 0.8391 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01172/0.2874, allocations: 12.19 MB / 0.851 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01495/0.3024, allocations: 11.52 MB / 0.8623 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004489/0.3069, allocations: 2.965 MB / 0.8652 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003989/0.3109, allocations: 3.507 MB / 0.8686 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004876/0.3114, allocations: 296 kB / 0.8689 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.3141, allocations: 1.556 MB / 0.8704 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00189/0.316, allocations: 2.295 MB / 0.8726 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00252/0.3185, allocations: 2.792 MB / 0.8754 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008875/0.3274, allocations: 10.66 MB / 0.8858 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3274, allocations: 0 / 0.8858 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3274, allocations: 0 / 0.8858 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002077/0.3276, allocations: 0 / 0.8858 GB, free: 6.949 MB / 0.7012 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.009227/0.3368, allocations: 4.837 MB / 0.8905 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3369, allocations: 8.031 kB / 0.8905 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001057/0.338, allocations: 0.7232 MB / 0.8912 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006041/0.344, allocations: 1.149 MB / 0.8923 GB, free: 144 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/0.3491, allocations: 3.325 MB / 0.8956 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.3493, allocations: 374.4 kB / 0.8959 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007092/0.3501, allocations: 0.4919 MB / 0.8964 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.3611, allocations: 8.001 MB / 0.9042 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.3612, allocations: 23.78 kB / 0.9043 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00048/0.3617, allocations: 216 kB / 0.9045 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009746/0.3627, allocations: 441.5 kB / 0.9049 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3438/0.7065, allocations: 6.074 MB / 0.9108 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0321/0.7387, allocations: 35.23 MB / 0.9452 GB, free: 79.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003125/0.7418, allocations: 2.029 MB / 0.9472 GB, free: 78.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.744, allocations: 1.851 MB / 0.949 GB, free: 77.86 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.246e-05/0.7441, allocations: 19.69 kB / 0.949 GB, free: 77.86 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.7442, allocations: 53.62 kB / 0.9491 GB, free: 77.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 3.637e-06/0.7442, allocations: 3.938 kB / 0.9491 GB, free: 77.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.1358/0.88, allocations: 39.01 MB / 0.9872 GB, free: 51.47 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.88, allocations: 81.52 kB / 0.9873 GB, free: 51.38 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/0.8825, allocations: 2.282 MB / 0.9895 GB, free: 49.08 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.8827, allocations: 73.7 kB / 0.9895 GB, free: 49 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008591/0.8836, allocations: 2.28 MB / 0.9918 GB, free: 46.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005405/0.8841, allocations: 0.93 MB / 0.9927 GB, free: 45.78 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.8845, allocations: 231.8 kB / 0.9929 GB, free: 45.54 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.37e-05/0.8845, allocations: 305.1 kB / 0.9932 GB, free: 45.24 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.8866, allocations: 1.973 MB / 0.9951 GB, free: 43.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.889, allocations: 2.602 MB / 0.9977 GB, free: 40.42 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004799/0.8938, allocations: 4.925 MB / 1.002 GB, free: 35.22 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.8938, allocations: 11.94 kB / 1.002 GB, free: 35.21 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01175/0.9056, allocations: 7.755 MB / 1.01 GB, free: 27.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.9056, allocations: 12 kB / 1.01 GB, free: 27.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.9056, allocations: 20 kB / 1.01 GB, free: 27.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007775/0.9134, allocations: 3.213 MB / 1.013 GB, free: 24.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.9149, allocations: 407.8 kB / 1.014 GB, free: 23.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03941/0.9544, allocations: 31.18 MB / 1.044 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003928/0.9583, allocations: 163.8 kB / 1.044 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/0.9588, allocations: 108 kB / 1.044 GB, free: 7.484 MB / 0.7325 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.004457/0.9633, allocations: 1.797 MB / 1.046 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008876/0.9642, allocations: 328.2 kB / 1.046 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/0.984, allocations: 7.364 MB / 1.054 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-05/0.9841, allocations: 28 kB / 1.054 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.762e-05/0.9842, allocations: 28 kB / 1.054 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-05/0.9842, allocations: 11.95 kB / 1.054 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03057/1.015, allocations: 12.94 MB / 1.066 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.015, allocations: 4 kB / 1.066 GB, free: 0.7578 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009012/1.016, allocations: 229.1 kB / 1.067 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007767/1.024, allocations: 2.86 MB / 1.069 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/1.024, allocations: 52 kB / 1.069 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03847/1.062, allocations: 29.97 MB / 1.099 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.859e-05/1.062, allocations: 11.94 kB / 1.099 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.074, allocations: 6.89 MB / 1.105 GB, free: 7.738 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.076, allocations: 0.7822 MB / 1.106 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000649/1.077, allocations: 48 kB / 1.106 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/1.079, allocations: 175.7 kB / 1.106 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007783/1.079, allocations: 253.5 kB / 1.107 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/1.08, allocations: 72 kB / 1.107 GB, free: 6.398 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002387/1.082, allocations: 1.521 MB / 1.108 GB, free: 4.875 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/1.082, allocations: 0 / 1.108 GB, free: 4.875 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004167/1.086, allocations: 1.371 MB / 1.109 GB, free: 3.504 MB / 0.795 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.01231/1.098, allocations: 7.514 MB / 1.117 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.11, allocations: 6.914 MB / 1.124 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.11, allocations: 4 kB / 1.124 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007563/1.117, allocations: 4.42 MB / 1.128 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007112/1.124, allocations: 1.046 MB / 1.129 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07771/1.202, allocations: 46.04 MB / 1.174 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004902/1.207, allocations: 3.647 MB / 1.177 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002132/1.209, allocations: 0.5634 MB / 1.178 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002394/1.212, allocations: 1.972 MB / 1.18 GB, free: 8.285 MB / 0.8731 GB Notification: Performance of SimCode: time 7.22e-07/1.212, allocations: 0 / 1.18 GB, free: 8.285 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5563/1.768, allocations: 107.9 MB / 1.285 GB, free: 316.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.768, allocations: 240.1 kB / 1.286 GB, free: 316 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.011/5.779, allocations: 0 / 1.286 GB, free: 316 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)