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 2.541/2.541, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001695/0.001694, allocations: 184 kB / 370.8 MB, free: 10.86 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.139/2.139, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001147/0.001147, allocations: 94.84 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004716, allocations: 13.09 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.233, allocations: 171 MB / 1.145 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/1.233, allocations: 101.2 kB / 1.145 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8511/2.084, allocations: 200.1 MB / 1.341 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.849e-06/2.084, allocations: 7.984 kB / 1.341 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004604/2.085, allocations: 139.9 kB / 1.341 GB, free: 14.45 MB / 0.8698 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.02138/2.106, allocations: 4.753 MB / 1.346 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/2.106, allocations: 12.03 kB / 1.346 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004119/2.11, allocations: 0.8088 MB / 1.346 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/2.121, allocations: 1.055 MB / 1.347 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/2.134, allocations: 3.406 MB / 1.351 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006102/2.135, allocations: 411.1 kB / 1.351 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002742/2.137, allocations: 0.535 MB / 1.352 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02947/2.167, allocations: 8.593 MB / 1.36 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003311/2.167, allocations: 27.69 kB / 1.36 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00222/2.17, allocations: 240 kB / 1.36 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008156/2.17, allocations: 314.8 kB / 1.361 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02966/2.2, allocations: 6.151 MB / 1.367 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07529/2.276, allocations: 40.11 MB / 1.406 GB, free: 7.746 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007109/2.283, allocations: 3.085 MB / 1.409 GB, free: 4.512 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/2.283, allocations: 18 kB / 1.409 GB, free: 4.496 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.555e-05/2.283, allocations: 56.56 kB / 1.409 GB, free: 4.434 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=179): time 4.869e-06/2.283, allocations: 0 / 1.409 GB, free: 4.434 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.04488/2.328, allocations: 9.864 MB / 1.418 GB, free: 10.47 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/2.328, allocations: 69.41 kB / 1.418 GB, free: 10.39 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/2.331, allocations: 1.302 MB / 1.42 GB, free: 9.051 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004274/2.332, allocations: 53.7 kB / 1.42 GB, free: 8.992 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002307/2.334, allocations: 2.246 MB / 1.422 GB, free: 6.715 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001156/2.335, allocations: 0.6277 MB / 1.423 GB, free: 6.078 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/2.336, allocations: 44 kB / 1.423 GB, free: 6.035 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002831/2.336, allocations: 402.3 kB / 1.423 GB, free: 5.637 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/2.339, allocations: 1.168 MB / 1.424 GB, free: 4.465 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/2.343, allocations: 1.847 MB / 1.426 GB, free: 2.309 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004093/2.347, allocations: 1.505 MB / 1.427 GB, free: 0.8047 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/2.347, allocations: 8 kB / 1.427 GB, free: 0.7969 MB / 0.948 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.7217/3.069, allocations: 4.535 MB / 1.432 GB, free: 226.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.63e-05/3.069, allocations: 14.59 kB / 1.432 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.152e-05/3.069, allocations: 20.97 kB / 1.432 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006967/3.076, allocations: 1.592 MB / 1.433 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/3.079, allocations: 350.8 kB / 1.434 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04781/3.127, allocations: 17.69 MB / 1.451 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/3.131, allocations: 117.3 kB / 1.451 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007969/3.132, allocations: 95.94 kB / 1.451 GB, free: 221.3 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 (174): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 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.007915/3.14, allocations: 1.89 MB / 1.453 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/3.141, allocations: 222.8 kB / 1.453 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02022/3.161, allocations: 4.083 MB / 1.457 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-05/3.162, allocations: 21.16 kB / 1.457 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001156/3.162, allocations: 16.12 kB / 1.457 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.739e-05/3.162, allocations: 10.53 kB / 1.457 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04667/3.208, allocations: 9.394 MB / 1.467 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-05/3.209, allocations: 8.234 kB / 1.467 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002798/3.211, allocations: 184.9 kB / 1.467 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/3.222, allocations: 1.353 MB / 1.468 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005606/3.223, allocations: 36.84 kB / 1.468 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05111/3.274, allocations: 16.54 MB / 1.484 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.62e-05/3.274, allocations: 8.531 kB / 1.484 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/3.291, allocations: 4.344 MB / 1.489 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/3.294, allocations: 0.5297 MB / 1.489 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/3.295, allocations: 35.34 kB / 1.489 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003276/3.299, allocations: 90.69 kB / 1.489 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001191/3.3, allocations: 163.2 kB / 1.489 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003824/3.3, allocations: 44.44 kB / 1.489 GB, free: 213.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003392/3.304, allocations: 0.9898 MB / 1.49 GB, free: 213.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.492e-06/3.304, allocations: 0 / 1.49 GB, free: 213.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007842/3.312, allocations: 1.036 MB / 1.491 GB, free: 213.3 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 (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.01878/3.33, allocations: 6.1 MB / 1.497 GB, free: 210.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0171/3.348, allocations: 4.259 MB / 1.501 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.108e-05/3.348, allocations: 0 / 1.501 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01056/3.358, allocations: 2.675 MB / 1.504 GB, free: 209.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008366/3.367, allocations: 0.6788 MB / 1.505 GB, free: 209.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05977/3.427, allocations: 37.34 MB / 1.541 GB, free: 182.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009308/3.436, allocations: 3.662 MB / 1.545 GB, free: 180.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00263/3.439, allocations: 464.8 kB / 1.545 GB, free: 180.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003697/3.442, allocations: 1.79 MB / 1.547 GB, free: 179.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.302e-06/3.442, allocations: 0 / 1.547 GB, free: 179.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.16/3.602, allocations: 71.02 MB / 1.616 GB, free: 170.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/3.603, allocations: 222.3 kB / 1.617 GB, free: 170 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.337/7.939, allocations: 64 / 1.617 GB, free: 170 MB / 0.948 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)