Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.577/2.577, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.002652/0.002652, allocations: 174.6 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.337/2.337, allocations: 205.4 MB / 0.6295 GB, free: 10.52 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.001159/0.001158, allocations: 94.23 kB / 0.7428 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007948/0.0007946, allocations: 16.94 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2418, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01245/0.2543, allocations: 8.737 MB / 0.9868 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006766/0.2611, allocations: 2.938 MB / 0.9897 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009817/0.2621, allocations: 27.81 kB / 0.9897 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006798/0.2628, allocations: 182.9 kB / 0.9899 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.2648, allocations: 474.6 kB / 0.9904 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.2667, allocations: 444.5 kB / 0.9908 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002588/0.2693, allocations: 1.293 MB / 0.992 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005396/0.2747, allocations: 2.674 MB / 0.9947 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.2765, allocations: 0.7165 MB / 0.9954 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.2786, allocations: 0.8685 MB / 0.9962 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005538/0.2792, allocations: 104 kB / 0.9963 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.2804, allocations: 211.8 kB / 0.9965 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.2817, allocations: 0.7679 MB / 0.9973 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007362/0.2825, allocations: 356.8 kB / 0.9976 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00404/0.2865, allocations: 2.755 MB / 1 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2866, allocations: 0 / 1 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.907e-06/0.2866, allocations: 4 kB / 1 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001237/0.2868, allocations: 4 kB / 1 GB, free: 5.652 MB / 0.6198 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.005316/0.2921, allocations: 1.604 MB / 1.002 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.2922, allocations: 8.031 kB / 1.002 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008396/0.293, allocations: 260.5 kB / 1.002 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009964/0.303, allocations: 0.9498 MB / 1.003 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003204/0.3063, allocations: 1.086 MB / 1.004 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.3064, allocations: 114.9 kB / 1.004 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006053/0.307, allocations: 144 kB / 1.004 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008503/0.3156, allocations: 2.99 MB / 1.007 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-05/0.3157, allocations: 15.84 kB / 1.007 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004084/0.3161, allocations: 67.97 kB / 1.007 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004171/0.3166, allocations: 179 kB / 1.008 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008374/0.325, allocations: 2.592 MB / 1.01 GB, free: 11.44 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03003/0.3551, allocations: 13.51 MB / 1.023 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003763/0.3589, allocations: 1.292 MB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.3591, allocations: 12.66 kB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.3591, allocations: 39.22 kB / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 4.669e-06/0.3592, allocations: 0 / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=139): time 0.1449/0.504, allocations: 19.44 MB / 1.044 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.5042, allocations: 68.72 kB / 1.044 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.5061, allocations: 0.9066 MB / 1.044 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003692/0.5065, allocations: 53.7 kB / 1.045 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007248/0.5072, allocations: 0.7321 MB / 1.045 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00085/0.5081, allocations: 481 kB / 1.046 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.5083, allocations: 32 kB / 1.046 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003181/0.5087, allocations: 422.7 kB / 1.046 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003531/0.5122, allocations: 1.327 MB / 1.047 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003932/0.5162, allocations: 1.643 MB / 1.049 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004142/0.5204, allocations: 1.562 MB / 1.051 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.5205, allocations: 3.953 kB / 1.051 GB, free: 0.5078 MB / 0.6667 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.02458/0.545, allocations: 5.617 MB / 1.056 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.5451, allocations: 8.656 kB / 1.056 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.5452, allocations: 11.95 kB / 1.056 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01729/0.5625, allocations: 2.723 MB / 1.059 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.5641, allocations: 191.6 kB / 1.059 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7214/1.286, allocations: 24.32 MB / 1.083 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/1.289, allocations: 94.97 kB / 1.083 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005923/1.29, allocations: 53.94 kB / 1.083 GB, free: 76.11 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003119/1.293, allocations: 0.7341 MB / 1.084 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006555/1.294, allocations: 117.7 kB / 1.084 GB, free: 75.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02869/1.323, allocations: 5.379 MB / 1.089 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/1.323, allocations: 13.41 kB / 1.089 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.55e-05/1.323, allocations: 26.98 kB / 1.089 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-05/1.323, allocations: 13.02 kB / 1.089 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03002/1.353, allocations: 8.6 MB / 1.097 GB, free: 71.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/1.353, allocations: 7.969 kB / 1.097 GB, free: 71.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009171/1.354, allocations: 124.4 kB / 1.097 GB, free: 71.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01578/1.37, allocations: 2.531 MB / 1.1 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003883/1.37, allocations: 30.09 kB / 1.1 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05185/1.422, allocations: 21.78 MB / 1.121 GB, free: 57.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.422, allocations: 7.906 kB / 1.121 GB, free: 57.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/1.44, allocations: 5.279 MB / 1.126 GB, free: 53.83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/1.441, allocations: 487.8 kB / 1.127 GB, free: 53.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003982/1.442, allocations: 27.78 kB / 1.127 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.444, allocations: 77.97 kB / 1.127 GB, free: 53.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008341/1.444, allocations: 128.1 kB / 1.127 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/1.445, allocations: 33.56 kB / 1.127 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001178/1.446, allocations: 0.6364 MB / 1.128 GB, free: 52.94 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.446, allocations: 0 / 1.128 GB, free: 52.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003513/1.449, allocations: 0.7148 MB / 1.128 GB, free: 52.22 MB / 0.6823 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 () * Number of clocked 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: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01858/1.468, allocations: 6.902 MB / 1.135 GB, free: 45.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01101/1.479, allocations: 4.144 MB / 1.139 GB, free: 40.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.479, allocations: 0 / 1.139 GB, free: 40.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008337/1.487, allocations: 2.656 MB / 1.142 GB, free: 38.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/1.489, allocations: 192.6 kB / 1.142 GB, free: 38.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03912/1.528, allocations: 20.15 MB / 1.162 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/1.53, allocations: 1.728 MB / 1.163 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001297/1.532, allocations: 329.4 kB / 1.164 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009923/1.533, allocations: 0.5305 MB / 1.164 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.462e-06/1.533, allocations: 0 / 1.164 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/1.673, allocations: 48.83 MB / 1.212 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/1.674, allocations: 235.7 kB / 1.212 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.538/5.211, allocations: 0 / 1.212 GB, free: 14.15 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)