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_RL_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_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.624/2.624, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001516/0.001516, allocations: 179.2 kB / 370.8 MB, free: 10.85 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.084/2.084, 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.001206/0.001206, allocations: 110.1 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0004999, allocations: 16.16 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2269, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.128/1.355, allocations: 196.2 MB / 1.17 GB, free: 4.02 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004159/1.356, allocations: 102.4 kB / 1.17 GB, free: 3.961 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4653/1.821, allocations: 113.7 MB / 1.281 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.946e-06/1.821, allocations: 0 / 1.281 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002819/1.821, allocations: 83.92 kB / 1.281 GB, free: 12.79 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01181/1.833, allocations: 2.874 MB / 1.284 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/1.833, allocations: 8.031 kB / 1.284 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002041/1.835, allocations: 466.4 kB / 1.284 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007043/1.842, allocations: 0.6712 MB / 1.285 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007553/1.85, allocations: 2.075 MB / 1.287 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/1.85, allocations: 222 kB / 1.287 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/1.852, allocations: 292 kB / 1.288 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/1.866, allocations: 4.61 MB / 1.292 GB, free: 1.199 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001557/1.866, allocations: 15.84 kB / 1.292 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006153/1.866, allocations: 132 kB / 1.292 GB, free: 1.055 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003069/1.867, allocations: 169.8 kB / 1.292 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/1.878, allocations: 3.403 MB / 1.296 GB, free: 13.47 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03756/1.915, allocations: 21.6 MB / 1.317 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/1.918, allocations: 1.287 MB / 1.318 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/1.919, allocations: 13 kB / 1.318 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/1.919, allocations: 47.56 kB / 1.318 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=107): time 6.262e-06/1.919, allocations: 0 / 1.318 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of matching and sorting (n=138): time 0.04603/1.965, allocations: 8.581 MB / 1.326 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/1.965, allocations: 72.66 kB / 1.327 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/1.967, allocations: 0.9673 MB / 1.327 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003164/1.968, allocations: 49.7 kB / 1.328 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/1.969, allocations: 1.3 MB / 1.329 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008149/1.97, allocations: 489 kB / 1.329 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/1.97, allocations: 32 kB / 1.329 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002628/1.97, allocations: 369.9 kB / 1.33 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/1.973, allocations: 0.8745 MB / 1.331 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/1.975, allocations: 1.335 MB / 1.332 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00293/1.978, allocations: 1.111 MB / 1.333 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/1.978, allocations: 4 kB / 1.333 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01092/1.989, allocations: 3.405 MB / 1.336 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/1.989, allocations: 12.97 kB / 1.336 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/1.989, allocations: 12 kB / 1.336 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005629/1.995, allocations: 1.146 MB / 1.337 GB, free: 448 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/1.997, allocations: 271.5 kB / 1.338 GB, free: 176 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02988/2.027, allocations: 12.97 MB / 1.35 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/2.029, allocations: 87.98 kB / 1.35 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/2.03, allocations: 67.98 kB / 1.35 GB, free: 2.656 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003258/2.033, allocations: 1.114 MB / 1.352 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005811/2.033, allocations: 158.1 kB / 1.352 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/2.044, allocations: 3.126 MB / 1.355 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/2.044, allocations: 12 kB / 1.355 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.4e-05/2.044, allocations: 15.94 kB / 1.355 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/2.044, allocations: 15.97 kB / 1.355 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/2.063, allocations: 6.104 MB / 1.361 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/2.063, allocations: 8 kB / 1.361 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/2.064, allocations: 148.3 kB / 1.361 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00526/2.069, allocations: 1.03 MB / 1.362 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002858/2.07, allocations: 36 kB / 1.362 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02854/2.098, allocations: 12.66 MB / 1.374 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/2.098, allocations: 7.938 kB / 1.374 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/2.109, allocations: 3.332 MB / 1.378 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/2.111, allocations: 423.1 kB / 1.378 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/2.111, allocations: 28 kB / 1.378 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/2.112, allocations: 79.89 kB / 1.378 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004988/2.113, allocations: 116.7 kB / 1.378 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/2.113, allocations: 40 kB / 1.378 GB, free: 5.398 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001777/2.115, allocations: 0.7475 MB / 1.379 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.02e-07/2.115, allocations: 0 / 1.379 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003483/2.118, allocations: 0.668 MB / 1.38 GB, free: 3.98 MB / 0.9011 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01058/2.129, allocations: 5.135 MB / 1.385 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008552/2.138, allocations: 3.064 MB / 1.388 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/2.138, allocations: 0 / 1.388 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005643/2.143, allocations: 1.937 MB / 1.389 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/2.147, allocations: 431.4 kB / 1.39 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0463/2.193, allocations: 24.56 MB / 1.414 GB, free: 15.95 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004593/2.198, allocations: 2.39 MB / 1.416 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002019/2.2, allocations: 346 kB / 1.417 GB, free: 13.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002453/2.202, allocations: 0.9952 MB / 1.418 GB, free: 12.18 MB / 0.948 GB Notification: Performance of SimCode: time 1.473e-06/2.203, allocations: 0 / 1.418 GB, free: 12.18 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.018/3.22, allocations: 48.36 MB / 1.465 GB, free: 274.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/3.221, allocations: 231.4 kB / 1.465 GB, free: 274.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.932/7.153, allocations: 0 / 1.465 GB, free: 274.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)