Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001056/0.001056, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 275 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9261/0.9261, allocations: 169.2 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 97.89 kB / 0.5954 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1504, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03392/0.1843, allocations: 30.74 MB / 0.7103 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.2047, allocations: 13.58 MB / 0.7236 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.2076, allocations: 147.2 kB / 0.7237 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008103/0.2158, allocations: 3.194 MB / 0.7268 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007498/0.2233, allocations: 2.661 MB / 0.7294 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005036/0.2283, allocations: 2.015 MB / 0.7314 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00943/0.2378, allocations: 7.617 MB / 0.7389 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01117/0.249, allocations: 8.299 MB / 0.747 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005054/0.2541, allocations: 3.393 MB / 0.7503 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004849/0.2589, allocations: 3.383 MB / 0.7536 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001705/0.2607, allocations: 0.5938 MB / 0.7542 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.2643, allocations: 1.502 MB / 0.7556 GB, free: 3.121 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003012/0.2674, allocations: 2.362 MB / 0.7579 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00525/0.2726, allocations: 2.886 MB / 0.7607 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.2834, allocations: 9.402 MB / 0.7699 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2834, allocations: 0 / 0.7699 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2834, allocations: 3.938 kB / 0.7699 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002802/0.2837, allocations: 0 / 0.7699 GB, free: 4.422 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.3019/0.5856, allocations: 5.121 MB / 0.7749 GB, free: 87.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.5857, allocations: 10.27 kB / 0.7749 GB, free: 87.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001712/0.5874, allocations: 0.6216 MB / 0.7755 GB, free: 86.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006476/0.5939, allocations: 0.9932 MB / 0.7765 GB, free: 86.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005766/0.5997, allocations: 2.898 MB / 0.7793 GB, free: 85.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.5999, allocations: 315.2 kB / 0.7796 GB, free: 84.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009077/0.6008, allocations: 419.1 kB / 0.78 GB, free: 84.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.6115, allocations: 6.789 MB / 0.7867 GB, free: 81.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.6117, allocations: 26.2 kB / 0.7867 GB, free: 81.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004738/0.6121, allocations: 187.2 kB / 0.7869 GB, free: 81.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000912/0.6131, allocations: 370.2 kB / 0.7872 GB, free: 81.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009817/0.6229, allocations: 5.116 MB / 0.7922 GB, free: 79.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0298/0.6527, allocations: 30.74 MB / 0.8222 GB, free: 52.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.6546, allocations: 1.387 MB / 0.8236 GB, free: 52.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.6561, allocations: 1.324 MB / 0.8249 GB, free: 51.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-05/0.6562, allocations: 18.98 kB / 0.8249 GB, free: 51.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.6562, allocations: 59.77 kB / 0.825 GB, free: 51.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 2.785e-06/0.6562, allocations: 0 / 0.825 GB, free: 51.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=199): time 0.08321/0.7394, allocations: 23.06 MB / 0.8475 GB, free: 32.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.7395, allocations: 73.41 kB / 0.8476 GB, free: 31.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.7419, allocations: 2.066 MB / 0.8496 GB, free: 29.85 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.7421, allocations: 61.7 kB / 0.8496 GB, free: 29.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008348/0.7429, allocations: 2.013 MB / 0.8516 GB, free: 27.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004818/0.7434, allocations: 0.676 MB / 0.8523 GB, free: 27.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000617/0.7441, allocations: 408.2 kB / 0.8527 GB, free: 26.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.7441, allocations: 305.1 kB / 0.8529 GB, free: 26.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.7457, allocations: 1.43 MB / 0.8543 GB, free: 24.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.7475, allocations: 2.01 MB / 0.8563 GB, free: 22.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/0.7511, allocations: 3.688 MB / 0.8599 GB, free: 18.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.7511, allocations: 15.12 kB / 0.8599 GB, free: 18.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00947/0.7606, allocations: 5.66 MB / 0.8654 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.7607, allocations: 12.94 kB / 0.8655 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.7607, allocations: 20 kB / 0.8655 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006052/0.7667, allocations: 2.099 MB / 0.8675 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.7683, allocations: 375.4 kB / 0.8679 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03629/0.8046, allocations: 38.46 MB / 0.9054 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.8073, allocations: 131.9 kB / 0.9056 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.8076, allocations: 88 kB / 0.9057 GB, free: 1.309 MB / 0.5919 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002684/0.8103, allocations: 1.509 MB / 0.9071 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000534/0.8108, allocations: 280.7 kB / 0.9074 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/0.8208, allocations: 5.218 MB / 0.9125 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.8209, allocations: 20 kB / 0.9125 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.094e-05/0.8209, allocations: 23.88 kB / 0.9125 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.8209, allocations: 7.969 kB / 0.9125 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.838, allocations: 9.679 MB / 0.922 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.838, allocations: 4 kB / 0.922 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008953/0.8389, allocations: 216.5 kB / 0.9222 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005962/0.8449, allocations: 1.861 MB / 0.924 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002453/0.8452, allocations: 40 kB / 0.9241 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03718/0.8823, allocations: 37.47 MB / 0.9606 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/0.8824, allocations: 8 kB / 0.9607 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009624/0.892, allocations: 4.909 MB / 0.9655 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.8935, allocations: 0.6186 MB / 0.9661 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006194/0.8941, allocations: 39.98 kB / 0.9661 GB, free: 464 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.8959, allocations: 131.8 kB / 0.9662 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006139/0.8965, allocations: 193.5 kB / 0.9664 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.8967, allocations: 56 kB / 0.9665 GB, free: 84 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00219/0.8989, allocations: 1.378 MB / 0.9678 GB, free: 14.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.8989, allocations: 0 / 0.9678 GB, free: 14.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003569/0.9025, allocations: 1.047 MB / 0.9688 GB, free: 13.65 MB / 0.67 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,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.009336/0.9118, allocations: 5.539 MB / 0.9742 GB, free: 7.941 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01172/0.9236, allocations: 7.211 MB / 0.9813 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.9236, allocations: 0 / 0.9813 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006765/0.9304, allocations: 4.411 MB / 0.9856 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/0.9353, allocations: 0.9956 MB / 0.9866 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05506/0.9903, allocations: 34.1 MB / 1.02 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004006/0.9944, allocations: 3.128 MB / 1.023 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001942/0.9963, allocations: 0.5198 MB / 1.023 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/0.9983, allocations: 1.674 MB / 1.025 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of SimCode: time 9.92e-07/0.9983, allocations: 0 / 1.025 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4388/1.437, allocations: 89.27 MB / 1.112 GB, free: 231.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.74, allocations: 9.812 kB / 1.112 GB, free: 231.5 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)