Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 285.6 MB / 293.1 MB, free: 10.29 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.001272/0.001272, allocations: 180.8 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009177/0.0009177, allocations: 94.66 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.603e-05, allocations: 8 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6702, allocations: 115.3 MB / 0.9645 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2176/0.8878, allocations: 166.1 MB / 1.127 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.8881, allocations: 93.48 kB / 1.127 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1712/1.059, allocations: 60.13 MB / 1.186 GB, free: 9.141 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.375e-06/1.059, allocations: 0 / 1.186 GB, free: 9.141 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001074/1.06, allocations: 39.98 kB / 1.186 GB, free: 9.102 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003326/1.063, allocations: 1.503 MB / 1.187 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.063, allocations: 8.031 kB / 1.187 GB, free: 7.539 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/1.066, allocations: 474.4 kB / 1.187 GB, free: 7.074 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/1.068, allocations: 1.137 MB / 1.189 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/1.068, allocations: 48 kB / 1.189 GB, free: 5.844 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/1.068, allocations: 84 kB / 1.189 GB, free: 5.762 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003533/1.072, allocations: 1.966 MB / 1.191 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004012/1.076, allocations: 2.539 MB / 1.193 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/1.076, allocations: 10.5 kB / 1.193 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/1.076, allocations: 4 kB / 1.193 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000617/1.077, allocations: 154.9 kB / 1.193 GB, free: 0.9648 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01841/1.095, allocations: 13.76 MB / 1.207 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/1.097, allocations: 1.295 MB / 1.208 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/1.099, allocations: 1.07 MB / 1.209 GB, free: 15.75 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/1.099, allocations: 16.77 kB / 1.209 GB, free: 15.73 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/1.099, allocations: 39.34 kB / 1.209 GB, free: 15.69 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 3.146e-06/1.099, allocations: 3.938 kB / 1.209 GB, free: 15.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=139): time 0.02661/1.125, allocations: 9.015 MB / 1.218 GB, free: 6.656 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/1.126, allocations: 64.72 kB / 1.218 GB, free: 6.578 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.127, allocations: 0.8794 MB / 1.219 GB, free: 5.691 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001973/1.127, allocations: 29.7 kB / 1.219 GB, free: 5.656 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005068/1.128, allocations: 0.7244 MB / 1.22 GB, free: 4.918 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004537/1.128, allocations: 473 kB / 1.22 GB, free: 4.449 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.128, allocations: 0 / 1.22 GB, free: 4.449 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002247/1.128, allocations: 414.7 kB / 1.22 GB, free: 4.035 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/1.13, allocations: 1.425 MB / 1.222 GB, free: 2.609 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/1.133, allocations: 1.718 MB / 1.223 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004218/1.137, allocations: 1.987 MB / 1.225 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.137, allocations: 0 / 1.225 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01208/1.149, allocations: 5.576 MB / 1.231 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/1.149, allocations: 11.94 kB / 1.231 GB, free: 9.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/1.149, allocations: 8 kB / 1.231 GB, free: 9.176 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008902/1.158, allocations: 2.704 MB / 1.234 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/1.159, allocations: 215.6 kB / 1.234 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/1.184, allocations: 15.18 MB / 1.249 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/1.185, allocations: 82.47 kB / 1.249 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004811/1.186, allocations: 168 kB / 1.249 GB, free: 6.539 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0005066/1.186, allocations: 130.8 kB / 1.249 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01081/1.197, allocations: 4.784 MB / 1.254 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/1.198, allocations: 114.6 kB / 1.254 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5704/1.768, allocations: 5.038 MB / 1.259 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/1.768, allocations: 14.19 kB / 1.259 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/1.768, allocations: 9.062 kB / 1.259 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/1.768, allocations: 11.41 kB / 1.259 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/1.783, allocations: 8.16 MB / 1.267 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.783, allocations: 7 kB / 1.267 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/1.784, allocations: 118.3 kB / 1.267 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007165/1.791, allocations: 2.529 MB / 1.269 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/1.791, allocations: 38.66 kB / 1.269 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/1.811, allocations: 12.81 MB / 1.282 GB, free: 215 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/1.811, allocations: 3.422 kB / 1.282 GB, free: 215 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/1.821, allocations: 4.952 MB / 1.287 GB, free: 213.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.822, allocations: 0.5974 MB / 1.287 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/1.823, allocations: 9.359 kB / 1.287 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009115/1.824, allocations: 54.91 kB / 1.287 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004167/1.824, allocations: 130.9 kB / 1.287 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002098/1.824, allocations: 113.7 kB / 1.287 GB, free: 212.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008874/1.825, allocations: 0.6661 MB / 1.288 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.81e-07/1.825, allocations: 0 / 1.288 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002129/1.827, allocations: 0.5199 MB / 1.289 GB, free: 212.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.01164/1.839, allocations: 6.673 MB / 1.295 GB, free: 209.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007128/1.846, allocations: 3.906 MB / 1.299 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.846, allocations: 0 / 1.299 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005175/1.851, allocations: 2.287 MB / 1.301 GB, free: 207 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.853, allocations: 155.9 kB / 1.301 GB, free: 207 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00696/1.86, allocations: 3.685 MB / 1.305 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/1.861, allocations: 1.701 MB / 1.307 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001092/1.862, allocations: 400.7 kB / 1.307 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006473/1.863, allocations: 0.5474 MB / 1.308 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/1.863, allocations: 0 / 1.308 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07463/1.938, allocations: 50.55 MB / 1.357 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.938, allocations: 190.3 kB / 1.357 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/4.603, allocations: 0 / 1.357 GB, free: 188.3 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)