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.ACLine.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.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.662/1.662, allocations: 252 MB / 267 MB, free: 10.96 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.001138/0.001138, allocations: 187.4 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0007763/0.0007763, allocations: 90 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004253, allocations: 12.06 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2365, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0217/0.2582, allocations: 27.88 MB / 0.9275 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.2745, allocations: 12.8 MB / 0.9401 GB, free: 23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003333/0.2779, allocations: 127.2 kB / 0.9402 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.2806, allocations: 0.6316 MB / 0.9408 GB, free: 22.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008098/0.2887, allocations: 2.195 MB / 0.9429 GB, free: 20.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00455/0.2933, allocations: 1.197 MB / 0.9441 GB, free: 18.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009077/0.3024, allocations: 8.367 MB / 0.9523 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.316, allocations: 8.525 MB / 0.9606 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005411/0.3214, allocations: 2.557 MB / 0.9631 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00601/0.3274, allocations: 2.842 MB / 0.9659 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001918/0.3294, allocations: 248 kB / 0.9661 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004577/0.334, allocations: 0.6984 MB / 0.9668 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.004117/0.3381, allocations: 1.901 MB / 0.9686 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002933/0.3411, allocations: 0.9641 MB / 0.9696 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.3527, allocations: 7.73 MB / 0.9771 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3528, allocations: 4 kB / 0.9771 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3528, allocations: 0 / 0.9771 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004014/0.3532, allocations: 3.938 kB / 0.9771 GB, free: 0.8477 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01132/0.3645, allocations: 4.2 MB / 0.9812 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3646, allocations: 12.03 kB / 0.9813 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002512/0.3671, allocations: 0.6162 MB / 0.9819 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007036/0.3742, allocations: 1.005 MB / 0.9828 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00813/0.3823, allocations: 2.81 MB / 0.9856 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005657/0.383, allocations: 316.5 kB / 0.9859 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002429/0.3854, allocations: 419.9 kB / 0.9863 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.4019, allocations: 6.76 MB / 0.9929 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.4021, allocations: 19.83 kB / 0.9929 GB, free: 236 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005345/0.4026, allocations: 184 kB / 0.9931 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008583/0.4035, allocations: 372.1 kB / 0.9934 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00913/0.4126, allocations: 5.083 MB / 0.9984 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03833/0.451, allocations: 30.75 MB / 1.028 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/0.4536, allocations: 1.391 MB / 1.03 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.4553, allocations: 1.324 MB / 1.031 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.551e-05/0.4554, allocations: 13.31 kB / 1.031 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.4555, allocations: 51.88 kB / 1.031 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 3.597e-06/0.4555, allocations: 0 / 1.031 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.5219/0.9774, allocations: 22.78 MB / 1.053 GB, free: 135.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.9775, allocations: 75.55 kB / 1.053 GB, free: 135.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003287/0.9808, allocations: 2.039 MB / 1.055 GB, free: 135 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000453/0.9813, allocations: 58.39 kB / 1.056 GB, free: 135 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.9827, allocations: 2.015 MB / 1.057 GB, free: 134.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008899/0.9836, allocations: 0.6769 MB / 1.058 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.9838, allocations: 45.59 kB / 1.058 GB, free: 134.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.984, allocations: 396.2 kB / 1.059 GB, free: 133.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.9861, allocations: 1.42 MB / 1.06 GB, free: 133.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.9883, allocations: 2.011 MB / 1.062 GB, free: 133.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.9906, allocations: 1.722 MB / 1.064 GB, free: 133.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.9906, allocations: 8.344 kB / 1.064 GB, free: 133.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01273/1.003, allocations: 5.633 MB / 1.069 GB, free: 132.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/1.003, allocations: 12.5 kB / 1.069 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.105e-05/1.004, allocations: 18.33 kB / 1.069 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00717/1.011, allocations: 2.08 MB / 1.071 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/1.012, allocations: 376.8 kB / 1.072 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03148/1.044, allocations: 35.5 MB / 1.106 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/1.047, allocations: 126.6 kB / 1.106 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/1.047, allocations: 94.25 kB / 1.106 GB, free: 102.7 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.003432/1.05, allocations: 1.502 MB / 1.108 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006931/1.051, allocations: 286.2 kB / 1.108 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009568/1.061, allocations: 5.199 MB / 1.113 GB, free: 98.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/1.061, allocations: 21.09 kB / 1.113 GB, free: 98.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-05/1.061, allocations: 19.47 kB / 1.113 GB, free: 98.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/1.061, allocations: 7.969 kB / 1.113 GB, free: 98.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/1.076, allocations: 9.658 MB / 1.123 GB, free: 92.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/1.076, allocations: 8.844 kB / 1.123 GB, free: 92.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008869/1.077, allocations: 215.6 kB / 1.123 GB, free: 92.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005286/1.082, allocations: 1.843 MB / 1.125 GB, free: 90.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002544/1.083, allocations: 36 kB / 1.125 GB, free: 90.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02583/1.109, allocations: 34.51 MB / 1.158 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.109, allocations: 11.94 kB / 1.158 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008107/1.117, allocations: 4.891 MB / 1.163 GB, free: 48.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/1.118, allocations: 0.6201 MB / 1.164 GB, free: 47.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003969/1.119, allocations: 43.98 kB / 1.164 GB, free: 47.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.12, allocations: 123.8 kB / 1.164 GB, free: 47.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005185/1.12, allocations: 193.6 kB / 1.164 GB, free: 47.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.121, allocations: 56 kB / 1.164 GB, free: 47.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001614/1.122, allocations: 1.359 MB / 1.166 GB, free: 46.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/1.122, allocations: 0 / 1.166 GB, free: 46.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003833/1.126, allocations: 1.035 MB / 1.167 GB, free: 45.05 MB / 0.698 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.00784/1.134, allocations: 5.518 MB / 1.172 GB, free: 39.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008272/1.142, allocations: 6.256 MB / 1.178 GB, free: 32.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.142, allocations: 0 / 1.178 GB, free: 32.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005445/1.148, allocations: 4.403 MB / 1.182 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00457/1.152, allocations: 0.9166 MB / 1.183 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04059/1.193, allocations: 25.37 MB / 1.208 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004139/1.197, allocations: 3.119 MB / 1.211 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002178/1.199, allocations: 0.5237 MB / 1.212 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/1.202, allocations: 1.679 MB / 1.213 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of SimCode: time 1.283e-06/1.202, allocations: 0 / 1.213 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1653/1.367, allocations: 85.6 MB / 1.297 GB, free: 6.344 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/1.367, allocations: 241.2 kB / 1.297 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.657/6.025, allocations: 4 kB / 1.297 GB, free: 6.098 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)