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.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,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.887/2.887, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.001353/0.001353, allocations: 192.8 kB / 371 MB, free: 10.87 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.064/2.064, allocations: 205.4 MB / 0.6297 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.001359/0.001359, allocations: 85.67 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007771/0.0007776, allocations: 13.28 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2375, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03823/0.2758, allocations: 27.86 MB / 1.006 GB, free: 320 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03144/0.3073, allocations: 12.81 MB / 1.018 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003486/0.3108, allocations: 123.2 kB / 1.018 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.3144, allocations: 0.6395 MB / 1.019 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009484/0.3239, allocations: 2.195 MB / 1.021 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006039/0.33, allocations: 1.2 MB / 1.022 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01527/0.3453, allocations: 8.353 MB / 1.03 GB, free: 6.922 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02233/0.3677, allocations: 8.522 MB / 1.039 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007061/0.3748, allocations: 2.545 MB / 1.041 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007039/0.3819, allocations: 2.849 MB / 1.044 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.3836, allocations: 247.9 kB / 1.044 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004353/0.388, allocations: 0.6984 MB / 1.045 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004215/0.3922, allocations: 1.905 MB / 1.047 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.3951, allocations: 0.9641 MB / 1.048 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.4088, allocations: 7.733 MB / 1.055 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4088, allocations: 0 / 1.055 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4088, allocations: 0 / 1.055 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003099/0.4091, allocations: 0 / 1.055 GB, free: 13.33 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01486/0.424, allocations: 4.198 MB / 1.059 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4241, allocations: 16.02 kB / 1.059 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00251/0.4266, allocations: 0.6162 MB / 1.06 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009361/0.436, allocations: 1.009 MB / 1.061 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009531/0.4456, allocations: 2.806 MB / 1.064 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005164/0.4462, allocations: 316.5 kB / 1.064 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001857/0.448, allocations: 427.9 kB / 1.064 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6612/1.109, allocations: 6.747 MB / 1.071 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002173/1.11, allocations: 20.12 kB / 1.071 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000937/1.111, allocations: 184.5 kB / 1.071 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001566/1.112, allocations: 373.4 kB / 1.072 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/1.129, allocations: 5.084 MB / 1.077 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05194/1.181, allocations: 30.76 MB / 1.107 GB, free: 52.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/1.185, allocations: 1.385 MB / 1.108 GB, free: 51.49 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/1.188, allocations: 1.331 MB / 1.109 GB, free: 50.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/1.189, allocations: 13.44 kB / 1.109 GB, free: 50.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/1.189, allocations: 46.78 kB / 1.109 GB, free: 50.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 4.037e-06/1.189, allocations: 0 / 1.109 GB, free: 50.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.1637/1.352, allocations: 22.79 MB / 1.132 GB, free: 41.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/1.352, allocations: 77.61 kB / 1.132 GB, free: 41.15 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/1.357, allocations: 2.033 MB / 1.134 GB, free: 40.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005108/1.357, allocations: 57.33 kB / 1.134 GB, free: 40 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/1.359, allocations: 2.01 MB / 1.136 GB, free: 38.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/1.36, allocations: 0.6743 MB / 1.136 GB, free: 37.65 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/1.36, allocations: 47.38 kB / 1.136 GB, free: 37.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.361, allocations: 405.1 kB / 1.137 GB, free: 37.24 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003518/1.364, allocations: 1.42 MB / 1.138 GB, free: 36.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004145/1.368, allocations: 1.998 MB / 1.14 GB, free: 34.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/1.373, allocations: 1.729 MB / 1.142 GB, free: 33.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/1.373, allocations: 4 kB / 1.142 GB, free: 33.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.019/1.392, allocations: 5.64 MB / 1.147 GB, free: 27.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/1.392, allocations: 13.22 kB / 1.147 GB, free: 27.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/1.392, allocations: 20 kB / 1.147 GB, free: 27.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01466/1.407, allocations: 2.073 MB / 1.149 GB, free: 25.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/1.41, allocations: 388.7 kB / 1.15 GB, free: 25.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07454/1.485, allocations: 35.49 MB / 1.184 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/1.489, allocations: 131.9 kB / 1.184 GB, free: 3.328 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/1.49, allocations: 95.97 kB / 1.185 GB, free: 3.234 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.004708/1.495, allocations: 1.512 MB / 1.186 GB, free: 1.711 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.496, allocations: 276.7 kB / 1.186 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01901/1.515, allocations: 5.199 MB / 1.191 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.574e-05/1.515, allocations: 20 kB / 1.191 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.178e-05/1.515, allocations: 16 kB / 1.191 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.948e-05/1.515, allocations: 8.25 kB / 1.191 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03374/1.549, allocations: 9.671 MB / 1.201 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-05/1.549, allocations: 8.156 kB / 1.201 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/1.55, allocations: 215.6 kB / 1.201 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01096/1.561, allocations: 1.842 MB / 1.203 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004342/1.562, allocations: 36 kB / 1.203 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05874/1.621, allocations: 34.51 MB / 1.237 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/1.621, allocations: 11.94 kB / 1.237 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/1.639, allocations: 4.889 MB / 1.241 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002411/1.641, allocations: 0.6109 MB / 1.242 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/1.642, allocations: 51.94 kB / 1.242 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003048/1.645, allocations: 123.8 kB / 1.242 GB, free: 5.406 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008787/1.646, allocations: 193.5 kB / 1.242 GB, free: 5.215 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002497/1.646, allocations: 60 kB / 1.242 GB, free: 5.156 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003483/1.65, allocations: 1.355 MB / 1.244 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.102e-06/1.65, allocations: 3.938 kB / 1.244 GB, free: 3.789 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00601/1.656, allocations: 1.039 MB / 1.245 GB, free: 2.75 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0191/1.675, allocations: 5.501 MB / 1.25 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01757/1.693, allocations: 6.255 MB / 1.256 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.693, allocations: 0 / 1.256 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01202/1.705, allocations: 4.399 MB / 1.26 GB, free: 1.988 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00804/1.713, allocations: 0.9312 MB / 1.261 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07502/1.788, allocations: 25.37 MB / 1.286 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006614/1.795, allocations: 3.123 MB / 1.289 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003288/1.798, allocations: 0.5237 MB / 1.29 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003637/1.802, allocations: 1.675 MB / 1.291 GB, free: 0.7461 MB / 0.8073 GB Notification: Performance of SimCode: time 1.242e-06/1.802, allocations: 0 / 1.291 GB, free: 0.7461 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2685/2.07, allocations: 85.6 MB / 1.375 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000334/2.071, allocations: 229.5 kB / 1.375 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.527/7.598, allocations: 0 / 1.375 GB, free: 11.81 MB / 0.9011 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)