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_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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.615/2.615, allocations: 287.5 MB / 302.4 MB, free: 8.355 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.001304/0.001304, allocations: 186.2 kB / 371 MB, free: 10.86 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.095/2.095, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009178/0.0009175, allocations: 94.28 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006793/0.0006794, allocations: 12.55 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2149, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0125/0.2275, allocations: 9.059 MB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006571/0.2341, allocations: 3.059 MB / 0.9903 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.2355, allocations: 35.81 kB / 0.9903 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.2366, allocations: 178.6 kB / 0.9905 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.2389, allocations: 0.6183 MB / 0.9911 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.241, allocations: 0.5199 MB / 0.9916 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004555/0.2456, allocations: 3.495 MB / 0.995 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005575/0.2512, allocations: 2.708 MB / 0.9977 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.2535, allocations: 0.9653 MB / 0.9986 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.2565, allocations: 1.43 MB / 1 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0007032/0.2573, allocations: 112 kB / 1 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.2588, allocations: 255.8 kB / 1 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.2605, allocations: 0.9276 MB / 1.001 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008882/0.2614, allocations: 376.8 kB / 1.002 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004161/0.2656, allocations: 3.004 MB / 1.005 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.2657, allocations: 0 / 1.005 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.016e-06/0.2657, allocations: 0 / 1.005 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001105/0.2658, allocations: 0 / 1.005 GB, free: 1.41 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005746/0.2716, allocations: 1.791 MB / 1.006 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.2716, allocations: 12.02 kB / 1.006 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001127/0.2728, allocations: 261 kB / 1.007 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01537/0.2882, allocations: 1.308 MB / 1.008 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/0.292, allocations: 1.223 MB / 1.009 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.2923, allocations: 111 kB / 1.009 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007696/0.2931, allocations: 156 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/0.3036, allocations: 3.409 MB / 1.013 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.398e-05/0.3038, allocations: 11.84 kB / 1.013 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004985/0.3043, allocations: 71.92 kB / 1.013 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004804/0.3048, allocations: 215 kB / 1.013 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.315, allocations: 3.108 MB / 1.016 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03206/0.3471, allocations: 13.58 MB / 1.029 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004814/0.352, allocations: 1.717 MB / 1.031 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003867/0.3559, allocations: 1.425 MB / 1.032 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/0.3562, allocations: 13 kB / 1.032 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.3563, allocations: 47.55 kB / 1.032 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 4.118e-06/0.3563, allocations: 7.938 kB / 1.032 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.9199/1.276, allocations: 35.92 MB / 1.067 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/1.276, allocations: 71.06 kB / 1.067 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/1.279, allocations: 1.045 MB / 1.069 GB, free: 83.53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005038/1.28, allocations: 53.52 kB / 1.069 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000824/1.281, allocations: 0.7896 MB / 1.069 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.282, allocations: 0.6266 MB / 1.07 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/1.282, allocations: 34.66 kB / 1.07 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000182/1.282, allocations: 386.8 kB / 1.07 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006626/1.289, allocations: 1.923 MB / 1.072 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005852/1.295, allocations: 2.276 MB / 1.074 GB, free: 80.81 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006119/1.301, allocations: 2.211 MB / 1.077 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/1.301, allocations: 2.688 kB / 1.077 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.03861/1.34, allocations: 8.984 MB / 1.085 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/1.34, allocations: 16.05 kB / 1.085 GB, free: 77.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/1.34, allocations: 8.844 kB / 1.085 GB, free: 77.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03253/1.372, allocations: 4.979 MB / 1.09 GB, free: 76.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.374, allocations: 194.2 kB / 1.09 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08621/1.46, allocations: 35.06 MB / 1.125 GB, free: 56.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/1.463, allocations: 102.5 kB / 1.125 GB, free: 56.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004316/1.464, allocations: 69.44 kB / 1.125 GB, free: 56.22 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002128/1.466, allocations: 0.8058 MB / 1.126 GB, free: 55.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005273/1.466, allocations: 139.2 kB / 1.126 GB, free: 55.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03406/1.5, allocations: 8.871 MB / 1.134 GB, free: 48.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/1.501, allocations: 20 kB / 1.134 GB, free: 48.28 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.751e-05/1.501, allocations: 28 kB / 1.134 GB, free: 48.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.18e-05/1.501, allocations: 7.969 kB / 1.134 GB, free: 48.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04393/1.545, allocations: 13.25 MB / 1.147 GB, free: 34.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.473e-05/1.545, allocations: 8.031 kB / 1.147 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/1.546, allocations: 119.8 kB / 1.148 GB, free: 34.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0294/1.575, allocations: 4.756 MB / 1.152 GB, free: 30 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004903/1.576, allocations: 43.94 kB / 1.152 GB, free: 29.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07676/1.652, allocations: 31.39 MB / 1.183 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.567e-06/1.652, allocations: 4 kB / 1.183 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03576/1.688, allocations: 8.377 MB / 1.191 GB, free: 5.566 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/1.69, allocations: 0.624 MB / 1.192 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006144/1.691, allocations: 36 kB / 1.192 GB, free: 4.887 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/1.694, allocations: 91.88 kB / 1.192 GB, free: 4.797 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/1.695, allocations: 165.6 kB / 1.192 GB, free: 4.637 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002839/1.695, allocations: 52 kB / 1.192 GB, free: 4.586 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001663/1.697, allocations: 0.7304 MB / 1.193 GB, free: 3.844 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.697, allocations: 4 kB / 1.193 GB, free: 3.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004629/1.701, allocations: 0.9959 MB / 1.194 GB, free: 2.848 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03575/1.737, allocations: 8.958 MB / 1.202 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0184/1.756, allocations: 5.824 MB / 1.208 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.756, allocations: 4.188 kB / 1.208 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01417/1.77, allocations: 3.796 MB / 1.212 GB, free: 72 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/1.772, allocations: 221.9 kB / 1.212 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06602/1.838, allocations: 20.66 MB / 1.232 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002728/1.841, allocations: 1.855 MB / 1.234 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001535/1.843, allocations: 355.4 kB / 1.234 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/1.844, allocations: 0.6047 MB / 1.235 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of SimCode: time 1.462e-06/1.844, allocations: 4 kB / 1.235 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1732/2.017, allocations: 69.7 MB / 1.303 GB, free: 2.504 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003775/2.018, allocations: 240 kB / 1.303 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.123/6.14, allocations: 0 / 1.303 GB, free: 2.258 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)