Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.687/2.687, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001563/0.001563, allocations: 179 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.317/2.317, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001663/0.001663, allocations: 92.55 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005457/0.0005458, allocations: 12.78 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2271, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04387/0.2711, allocations: 30.61 MB / 1.008 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02353/0.2947, allocations: 9.653 MB / 1.018 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003772/0.2985, allocations: 119.2 kB / 1.018 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003469/0.302, allocations: 0.6793 MB / 1.018 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007588/0.3097, allocations: 1.569 MB / 1.02 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006036/0.3157, allocations: 1.172 MB / 1.021 GB, free: 376 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009935/0.3257, allocations: 3.885 MB / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02805/0.3538, allocations: 10.38 MB / 1.035 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006159/0.36, allocations: 2.133 MB / 1.037 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006074/0.3662, allocations: 2.207 MB / 1.039 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00189/0.3681, allocations: 284 kB / 1.04 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.3717, allocations: 0.5269 MB / 1.04 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004379/0.3761, allocations: 1.921 MB / 1.042 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002823/0.379, allocations: 1.027 MB / 1.043 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.3933, allocations: 8.412 MB / 1.051 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3934, allocations: 0 / 1.051 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.396e-06/0.3934, allocations: 0 / 1.051 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003768/0.3938, allocations: 0 / 1.051 GB, free: 1.469 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01602/0.4098, allocations: 4.364 MB / 1.055 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.4099, allocations: 12.03 kB / 1.055 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003162/0.4131, allocations: 0.7021 MB / 1.056 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007374/0.4205, allocations: 0.9148 MB / 1.057 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01495/0.4355, allocations: 2.925 MB / 1.06 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009821/0.4366, allocations: 353.6 kB / 1.06 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003144/0.4398, allocations: 471.9 kB / 1.061 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7045/1.144, allocations: 7.82 MB / 1.068 GB, free: 77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002793/1.145, allocations: 17.19 kB / 1.068 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001497/1.146, allocations: 214.8 kB / 1.068 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001096/1.147, allocations: 367.6 kB / 1.069 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/1.167, allocations: 5.897 MB / 1.075 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05656/1.224, allocations: 36.26 MB / 1.11 GB, free: 45.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006185/1.23, allocations: 2.128 MB / 1.112 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/1.23, allocations: 17.84 kB / 1.112 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.934e-05/1.23, allocations: 52.5 kB / 1.112 GB, free: 44.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 4.809e-06/1.23, allocations: 0 / 1.112 GB, free: 44.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.02327/1.254, allocations: 7.541 MB / 1.119 GB, free: 40.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/1.254, allocations: 68.47 kB / 1.12 GB, free: 40.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003901/1.258, allocations: 1.842 MB / 1.121 GB, free: 39.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004475/1.258, allocations: 53.02 kB / 1.121 GB, free: 39.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001619/1.26, allocations: 2.122 MB / 1.123 GB, free: 37.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009803/1.261, allocations: 0.5585 MB / 1.124 GB, free: 36.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/1.261, allocations: 48.69 kB / 1.124 GB, free: 36.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.261, allocations: 397.5 kB / 1.124 GB, free: 36.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/1.265, allocations: 1.05 MB / 1.125 GB, free: 35.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/1.268, allocations: 1.744 MB / 1.127 GB, free: 34.37 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/1.272, allocations: 1.353 MB / 1.129 GB, free: 33.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-05/1.272, allocations: 6.688 kB / 1.129 GB, free: 33.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01246/1.284, allocations: 3.898 MB / 1.132 GB, free: 31.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/1.285, allocations: 15.06 kB / 1.132 GB, free: 31.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/1.285, allocations: 26.81 kB / 1.132 GB, free: 31.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004478/1.289, allocations: 0.9308 MB / 1.133 GB, free: 30.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003367/1.292, allocations: 425.8 kB / 1.134 GB, free: 30.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02793/1.32, allocations: 21.42 MB / 1.155 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/1.324, allocations: 126.7 kB / 1.155 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005126/1.324, allocations: 90.59 kB / 1.155 GB, free: 11.22 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0043/1.329, allocations: 1.649 MB / 1.156 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007834/1.329, allocations: 255.9 kB / 1.157 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009169/1.339, allocations: 3.255 MB / 1.16 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/1.339, allocations: 18.62 kB / 1.16 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.708e-05/1.339, allocations: 10.5 kB / 1.16 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.717e-05/1.339, allocations: 7.969 kB / 1.16 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02644/1.365, allocations: 7.534 MB / 1.167 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.365, allocations: 11.95 kB / 1.167 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/1.367, allocations: 219.6 kB / 1.167 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004071/1.371, allocations: 0.8913 MB / 1.168 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003463/1.372, allocations: 32 kB / 1.168 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03256/1.404, allocations: 21.39 MB / 1.189 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.404, allocations: 4 kB / 1.189 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.415, allocations: 3.699 MB / 1.193 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/1.417, allocations: 0.537 MB / 1.193 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006925/1.417, allocations: 31.98 kB / 1.193 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/1.42, allocations: 91.89 kB / 1.193 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006291/1.42, allocations: 141 kB / 1.194 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/1.421, allocations: 44.28 kB / 1.194 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002898/1.423, allocations: 1.201 MB / 1.195 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.423, allocations: 0 / 1.195 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004949/1.428, allocations: 0.9023 MB / 1.196 GB, free: 3.656 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01151/1.44, allocations: 5.429 MB / 1.201 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01204/1.452, allocations: 4.41 MB / 1.205 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/1.452, allocations: 4 kB / 1.205 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007985/1.46, allocations: 2.993 MB / 1.208 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006001/1.466, allocations: 0.7457 MB / 1.209 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06949/1.536, allocations: 36.51 MB / 1.245 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006986/1.543, allocations: 3.289 MB / 1.248 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003321/1.546, allocations: 0.5254 MB / 1.248 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003775/1.55, allocations: 1.663 MB / 1.25 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of SimCode: time 4.498e-06/1.55, allocations: 0 / 1.25 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1964/1.746, allocations: 68.66 MB / 1.317 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003223/1.747, allocations: 222.6 kB / 1.317 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.7/6.447, allocations: 3.938 kB / 1.317 GB, free: 5.797 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)