Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009952/0.0009953, allocations: 178.2 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 0.578 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000784/0.0007838, allocations: 101.9 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005729/0.0005731, allocations: 13.56 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2386, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008873/0.2476, allocations: 9.535 MB / 0.9102 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005728/0.2534, allocations: 3.057 MB / 0.9132 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.2548, allocations: 31.81 kB / 0.9133 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008309/0.2557, allocations: 178.7 kB / 0.9134 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.258, allocations: 0.6576 MB / 0.9141 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.2594, allocations: 0.5421 MB / 0.9146 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003833/0.2633, allocations: 4.052 MB / 0.9186 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004041/0.2673, allocations: 3.115 MB / 0.9216 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.2688, allocations: 0.8561 MB / 0.9224 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.2706, allocations: 1.273 MB / 0.9237 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004846/0.2711, allocations: 104 kB / 0.9238 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.2725, allocations: 451.2 kB / 0.9242 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.2736, allocations: 0.8418 MB / 0.925 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.2747, allocations: 0.8725 MB / 0.9259 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002833/0.2775, allocations: 3.255 MB / 0.9291 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.2776, allocations: 0 / 0.9291 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2776, allocations: 0 / 0.9291 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.797e-05/0.2776, allocations: 0 / 0.9291 GB, free: 34.41 MB / 0.6042 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.002823/0.2805, allocations: 1.597 MB / 0.9306 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2805, allocations: 8.031 kB / 0.9306 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003138/0.2808, allocations: 260.7 kB / 0.9309 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005387/0.2862, allocations: 0.8883 MB / 0.9317 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.2883, allocations: 1.118 MB / 0.9328 GB, free: 30.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/0.2883, allocations: 107.3 kB / 0.9329 GB, free: 30.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000269/0.2886, allocations: 148.3 kB / 0.9331 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004098/0.2927, allocations: 3.017 MB / 0.936 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/0.2928, allocations: 7.875 kB / 0.936 GB, free: 27.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.293, allocations: 63.97 kB / 0.9361 GB, free: 27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002048/0.2932, allocations: 179 kB / 0.9363 GB, free: 26.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003586/0.2968, allocations: 2.608 MB / 0.9388 GB, free: 24.21 MB / 0.6042 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.01312/0.31, allocations: 13.52 MB / 0.952 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.3116, allocations: 1.291 MB / 0.9533 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.3128, allocations: 1.05 MB / 0.9543 GB, free: 7.234 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/0.3128, allocations: 8.656 kB / 0.9543 GB, free: 7.227 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.3129, allocations: 43.22 kB / 0.9543 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=82): time 4.348e-06/0.3129, allocations: 0 / 0.9543 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139): time 0.07195/0.3848, allocations: 19.47 MB / 0.9734 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.385, allocations: 64.72 kB / 0.9734 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.3864, allocations: 0.9261 MB / 0.9743 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.3866, allocations: 45.7 kB / 0.9744 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.3872, allocations: 0.7322 MB / 0.9751 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/0.3876, allocations: 481 kB / 0.9755 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3878, allocations: 32 kB / 0.9756 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000265/0.388, allocations: 418.7 kB / 0.976 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/0.3899, allocations: 1.335 MB / 0.9773 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.392, allocations: 1.659 MB / 0.9789 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/0.3962, allocations: 3.086 MB / 0.9819 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/0.3963, allocations: 4 kB / 0.9819 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0118/0.4081, allocations: 5.638 MB / 0.9874 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.4082, allocations: 11.94 kB / 0.9874 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.4082, allocations: 15.98 kB / 0.9874 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009007/0.4172, allocations: 2.719 MB / 0.9901 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009022/0.4182, allocations: 191.6 kB / 0.9903 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03454/0.4528, allocations: 23.32 MB / 1.013 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.4544, allocations: 99.95 kB / 1.013 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/0.4547, allocations: 56 kB / 1.013 GB, free: 9.863 MB / 0.6667 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001452/0.4562, allocations: 0.7277 MB / 1.014 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/0.4565, allocations: 114.6 kB / 1.014 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.4678, allocations: 5.4 MB / 1.019 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.4679, allocations: 16 kB / 1.019 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.312e-05/0.4679, allocations: 16 kB / 1.019 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.4679, allocations: 11.97 kB / 1.019 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/0.486, allocations: 8.621 MB / 1.028 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/0.4861, allocations: 4 kB / 1.028 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.4866, allocations: 119.7 kB / 1.028 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008779/0.4954, allocations: 2.541 MB / 1.03 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002761/0.4958, allocations: 32.25 kB / 1.03 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03171/0.5275, allocations: 20.88 MB / 1.051 GB, free: 2.656 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/0.5275, allocations: 8.312 kB / 1.051 GB, free: 2.648 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4397/0.9672, allocations: 5.117 MB / 1.056 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.9686, allocations: 490.9 kB / 1.056 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.9689, allocations: 28.05 kB / 1.056 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000957/0.9699, allocations: 74.97 kB / 1.056 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006488/0.9705, allocations: 125.5 kB / 1.056 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.9707, allocations: 34.44 kB / 1.057 GB, free: 139.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000949/0.9716, allocations: 0.6433 MB / 1.057 GB, free: 139 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9716, allocations: 3.688 kB / 1.057 GB, free: 139 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002342/0.974, allocations: 0.7191 MB / 1.058 GB, free: 139 MB / 0.698 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01202/0.986, allocations: 5.703 MB / 1.063 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008133/0.9942, allocations: 4.151 MB / 1.067 GB, free: 137.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.9942, allocations: 3.75 kB / 1.067 GB, free: 137.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005062/0.9993, allocations: 2.67 MB / 1.07 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/1.001, allocations: 211.1 kB / 1.07 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03687/1.038, allocations: 22.53 MB / 1.092 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.039, allocations: 1.706 MB / 1.094 GB, free: 127.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000853/1.04, allocations: 330.1 kB / 1.094 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/1.041, allocations: 0.5293 MB / 1.095 GB, free: 127 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.041, allocations: 0 / 1.095 GB, free: 127 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06384/1.105, allocations: 48.82 MB / 1.142 GB, free: 78.94 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/1.105, allocations: 274.8 kB / 1.143 GB, free: 78.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.132/4.237, allocations: 0 / 1.143 GB, free: 78.58 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)