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.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,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.765/2.765, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001585/0.001585, allocations: 180.5 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.034/2.034, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001129/0.001129, allocations: 101.6 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006633/0.0006632, allocations: 11.97 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2265, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9994/1.226, allocations: 170.8 MB / 1.145 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/1.226, allocations: 93.97 kB / 1.145 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7821/2.008, allocations: 180.5 MB / 1.321 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.597e-06/2.009, allocations: 4 kB / 1.321 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0006129/2.009, allocations: 115.9 kB / 1.322 GB, free: 2.738 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02578/2.035, allocations: 4.109 MB / 1.326 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.021e-05/2.035, allocations: 12.03 kB / 1.326 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00478/2.04, allocations: 0.6896 MB / 1.326 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/2.054, allocations: 0.9426 MB / 1.327 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/2.065, allocations: 2.999 MB / 1.33 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005249/2.066, allocations: 349.3 kB / 1.33 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002353/2.068, allocations: 467.8 kB / 1.331 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02539/2.093, allocations: 7.318 MB / 1.338 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003306/2.094, allocations: 27.77 kB / 1.338 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001753/2.096, allocations: 204 kB / 1.338 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005753/2.096, allocations: 273 kB / 1.338 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/2.114, allocations: 5.184 MB / 1.344 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06048/2.175, allocations: 35.07 MB / 1.378 GB, free: 5.285 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005128/2.18, allocations: 2.137 MB / 1.38 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/2.18, allocations: 17.31 kB / 1.38 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/2.18, allocations: 55.88 kB / 1.38 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=133): time 4.799e-06/2.18, allocations: 0 / 1.38 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of matching and sorting (n=136): time 0.0252/2.206, allocations: 7.073 MB / 1.387 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/2.206, allocations: 64.72 kB / 1.387 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004506/2.21, allocations: 1.272 MB / 1.388 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003474/2.211, allocations: 45.7 kB / 1.388 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001992/2.213, allocations: 1.984 MB / 1.39 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008315/2.213, allocations: 485 kB / 1.391 GB, free: 7.672 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/2.214, allocations: 36 kB / 1.391 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002427/2.214, allocations: 385.9 kB / 1.391 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/2.216, allocations: 0.8979 MB / 1.392 GB, free: 6.355 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/2.219, allocations: 1.552 MB / 1.393 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/2.222, allocations: 1.166 MB / 1.395 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/2.223, allocations: 8 kB / 1.395 GB, free: 3.328 MB / 0.9167 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01154/2.234, allocations: 3.495 MB / 1.398 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/2.234, allocations: 15.98 kB / 1.398 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.555e-05/2.234, allocations: 24 kB / 1.398 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004885/2.239, allocations: 0.8885 MB / 1.399 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/2.242, allocations: 351.4 kB / 1.399 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03385/2.276, allocations: 21.56 MB / 1.42 GB, free: 7.312 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/2.278, allocations: 95.92 kB / 1.42 GB, free: 7.219 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/2.279, allocations: 87.98 kB / 1.42 GB, free: 7.133 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004913/2.284, allocations: 1.605 MB / 1.422 GB, free: 5.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/2.285, allocations: 205.5 kB / 1.422 GB, free: 5.316 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00964/2.294, allocations: 2.974 MB / 1.425 GB, free: 2.293 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/2.294, allocations: 16 kB / 1.425 GB, free: 2.277 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.748e-05/2.294, allocations: 8 kB / 1.425 GB, free: 2.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/2.294, allocations: 7.969 kB / 1.425 GB, free: 2.262 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6938/2.988, allocations: 7.265 MB / 1.432 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/2.988, allocations: 1.844 kB / 1.432 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/2.99, allocations: 182 kB / 1.432 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004389/2.994, allocations: 0.8227 MB / 1.433 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000325/2.995, allocations: 34.61 kB / 1.433 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02679/3.022, allocations: 20.61 MB / 1.453 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/3.022, allocations: 13.94 kB / 1.453 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009963/3.032, allocations: 3.295 MB / 1.457 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001779/3.033, allocations: 463.8 kB / 1.457 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005664/3.034, allocations: 28.23 kB / 1.457 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/3.036, allocations: 68.47 kB / 1.457 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005971/3.036, allocations: 129.5 kB / 1.457 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/3.036, allocations: 37.59 kB / 1.457 GB, free: 219.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002659/3.039, allocations: 0.9602 MB / 1.458 GB, free: 219.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.92e-07/3.039, allocations: 4.344 kB / 1.458 GB, free: 219.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005329/3.045, allocations: 0.821 MB / 1.459 GB, free: 219.7 MB / 0.948 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01027/3.055, allocations: 5.046 MB / 1.464 GB, free: 217.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009854/3.065, allocations: 3.979 MB / 1.468 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/3.065, allocations: 2.25 kB / 1.468 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006364/3.071, allocations: 2.736 MB / 1.47 GB, free: 214.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005603/3.077, allocations: 0.6326 MB / 1.471 GB, free: 214.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05871/3.136, allocations: 33.5 MB / 1.504 GB, free: 192.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008021/3.144, allocations: 3.187 MB / 1.507 GB, free: 191.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002907/3.147, allocations: 458.8 kB / 1.507 GB, free: 191.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003663/3.15, allocations: 1.545 MB / 1.509 GB, free: 191.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.763e-06/3.15, allocations: 0 / 1.509 GB, free: 191.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.144/3.294, allocations: 59.43 MB / 1.567 GB, free: 189.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/3.295, allocations: 220.4 kB / 1.567 GB, free: 189.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.321/7.616, allocations: 0 / 1.567 GB, free: 189.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)