Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001249/0.001249, allocations: 184.8 kB / 366.7 MB, free: 1.66 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.764/1.764, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0008824/0.0008823, allocations: 90.59 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.283e-05/4.284e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6421/0.6422, allocations: 116.3 MB / 0.9734 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.8565, allocations: 167.2 MB / 1.137 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.8568, allocations: 96.55 kB / 1.137 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1767/1.033, allocations: 68.61 MB / 1.204 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.494e-06/1.034, allocations: 0 / 1.204 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001486/1.034, allocations: 36 kB / 1.204 GB, free: 9.617 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005175/1.039, allocations: 1.499 MB / 1.205 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.039, allocations: 15.97 kB / 1.205 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/1.042, allocations: 465.4 kB / 1.206 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/1.045, allocations: 1.149 MB / 1.207 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/1.045, allocations: 48 kB / 1.207 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005778/1.046, allocations: 84 kB / 1.207 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004182/1.05, allocations: 1.958 MB / 1.209 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004614/1.055, allocations: 2.539 MB / 1.211 GB, free: 1.648 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/1.055, allocations: 4 kB / 1.211 GB, free: 1.645 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/1.055, allocations: 8 kB / 1.211 GB, free: 1.637 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004927/1.056, allocations: 154.9 kB / 1.211 GB, free: 1.484 MB / 0.8073 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.01888/1.074, allocations: 13.77 MB / 1.225 GB, free: 2.641 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/1.077, allocations: 1.294 MB / 1.226 GB, free: 1.328 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/1.078, allocations: 1.082 MB / 1.227 GB, free: 252 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.134e-05/1.078, allocations: 12.77 kB / 1.227 GB, free: 240 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/1.078, allocations: 43.34 kB / 1.227 GB, free: 188 kB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 4.769e-06/1.078, allocations: 3.984 kB / 1.227 GB, free: 184 kB / 0.823 GB Notification: Performance of matching and sorting (n=139): time 0.02644/1.105, allocations: 9 MB / 1.236 GB, free: 7.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/1.105, allocations: 68.72 kB / 1.236 GB, free: 7.078 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/1.106, allocations: 0.8784 MB / 1.237 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/1.107, allocations: 25.7 kB / 1.237 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005167/1.107, allocations: 0.7283 MB / 1.238 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005964/1.108, allocations: 469 kB / 1.238 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/1.108, allocations: 0 / 1.238 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002211/1.108, allocations: 414.7 kB / 1.239 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/1.11, allocations: 1.425 MB / 1.24 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/1.113, allocations: 1.718 MB / 1.242 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/1.117, allocations: 1.99 MB / 1.244 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/1.117, allocations: 4 kB / 1.244 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01211/1.129, allocations: 5.567 MB / 1.249 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/1.129, allocations: 8 kB / 1.249 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/1.129, allocations: 8 kB / 1.249 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008001/1.137, allocations: 2.697 MB / 1.252 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.138, allocations: 215.6 kB / 1.252 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5565/1.695, allocations: 15.18 MB / 1.267 GB, free: 212.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.696, allocations: 76.72 kB / 1.267 GB, free: 212.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003434/1.697, allocations: 169.7 kB / 1.267 GB, free: 212.2 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.0003475/1.697, allocations: 121.1 kB / 1.267 GB, free: 212.1 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009837/1.707, allocations: 4.796 MB / 1.272 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/1.707, allocations: 111.6 kB / 1.272 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/1.718, allocations: 5.048 MB / 1.277 GB, free: 211.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/1.718, allocations: 14 kB / 1.277 GB, free: 211.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.718, allocations: 13.17 kB / 1.277 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/1.718, allocations: 8.859 kB / 1.277 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/1.734, allocations: 8.158 MB / 1.285 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/1.734, allocations: 3.094 kB / 1.285 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/1.734, allocations: 120 kB / 1.285 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007669/1.742, allocations: 2.524 MB / 1.287 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/1.742, allocations: 40.36 kB / 1.287 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/1.762, allocations: 12.82 MB / 1.3 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/1.762, allocations: 11.28 kB / 1.3 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.772, allocations: 4.949 MB / 1.305 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.773, allocations: 0.5901 MB / 1.305 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/1.774, allocations: 9.609 kB / 1.305 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009365/1.774, allocations: 53.12 kB / 1.305 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004161/1.775, allocations: 133.4 kB / 1.306 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/1.775, allocations: 113.4 kB / 1.306 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008556/1.776, allocations: 0.6691 MB / 1.306 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.776, allocations: 3.844 kB / 1.306 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002314/1.778, allocations: 0.5263 MB / 1.307 GB, free: 201.3 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.00956/1.788, allocations: 6.67 MB / 1.313 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005973/1.794, allocations: 3.9 MB / 1.317 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.794, allocations: 0 / 1.317 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004995/1.799, allocations: 2.289 MB / 1.319 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.8, allocations: 156.4 kB / 1.32 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/1.807, allocations: 3.679 MB / 1.323 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.808, allocations: 1.702 MB / 1.325 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0009448/1.809, allocations: 396.3 kB / 1.325 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/1.81, allocations: 0.5527 MB / 1.326 GB, free: 193 MB / 0.8542 GB Notification: Performance of SimCode: time 1.763e-06/1.81, allocations: 0 / 1.326 GB, free: 193 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0724/1.882, allocations: 50.57 MB / 1.375 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/1.882, allocations: 172.1 kB / 1.375 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/4.647, allocations: 0 / 1.375 GB, free: 167.2 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)