Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.797/1.797, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.001179/0.001179, allocations: 179.8 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 0.6305 GB, free: 9.898 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.0009039/0.0009039, allocations: 93.52 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.000445, allocations: 12.5 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2399, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02054/0.2605, allocations: 26.62 MB / 1.005 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01991/0.2804, allocations: 12.59 MB / 1.018 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003517/0.284, allocations: 115.2 kB / 1.018 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.2868, allocations: 0.6288 MB / 1.018 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008694/0.2956, allocations: 2.113 MB / 1.021 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005348/0.301, allocations: 1.216 MB / 1.022 GB, free: 216 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009751/0.3107, allocations: 3.993 MB / 1.026 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01743/0.3282, allocations: 8.52 MB / 1.034 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005881/0.3342, allocations: 2.282 MB / 1.036 GB, free: 1.324 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005344/0.3396, allocations: 2.036 MB / 1.038 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001703/0.3413, allocations: 244 kB / 1.038 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003275/0.3446, allocations: 0.593 MB / 1.039 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003663/0.3483, allocations: 1.758 MB / 1.041 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002992/0.3513, allocations: 0.9641 MB / 1.042 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.3637, allocations: 7.609 MB / 1.049 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3637, allocations: 4 kB / 1.049 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.737e-06/0.3637, allocations: 0 / 1.049 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004403/0.3642, allocations: 0 / 1.049 GB, free: 4.082 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01236/0.3766, allocations: 4.173 MB / 1.053 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.3766, allocations: 8.031 kB / 1.053 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002409/0.3791, allocations: 0.624 MB / 1.054 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006505/0.3856, allocations: 0.9699 MB / 1.055 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008382/0.394, allocations: 2.81 MB / 1.057 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003948/0.3944, allocations: 312.5 kB / 1.058 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/0.3963, allocations: 427.9 kB / 1.058 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.4157, allocations: 6.717 MB / 1.065 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002615/0.416, allocations: 19.84 kB / 1.065 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00141/0.4174, allocations: 184 kB / 1.065 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/0.4186, allocations: 372 kB / 1.065 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5016/0.9202, allocations: 5.081 MB / 1.07 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0406/0.9608, allocations: 30.75 MB / 1.1 GB, free: 54.99 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.9635, allocations: 1.386 MB / 1.102 GB, free: 54.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.9637, allocations: 14.69 kB / 1.102 GB, free: 54.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.9637, allocations: 54.55 kB / 1.102 GB, free: 54.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 3.717e-06/0.9637, allocations: 0 / 1.102 GB, free: 54.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.08578/1.05, allocations: 22.78 MB / 1.124 GB, free: 45.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/1.05, allocations: 76.33 kB / 1.124 GB, free: 45.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/1.053, allocations: 2.046 MB / 1.126 GB, free: 44.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004188/1.054, allocations: 62.08 kB / 1.126 GB, free: 44.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/1.055, allocations: 2.007 MB / 1.128 GB, free: 42.42 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006363/1.056, allocations: 0.6781 MB / 1.129 GB, free: 41.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/1.056, allocations: 48.91 kB / 1.129 GB, free: 41.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.056, allocations: 399.3 kB / 1.129 GB, free: 41.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/1.058, allocations: 1.422 MB / 1.131 GB, free: 40.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/1.06, allocations: 2.001 MB / 1.132 GB, free: 39.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/1.062, allocations: 1.721 MB / 1.134 GB, free: 38.19 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/1.062, allocations: 4.75 kB / 1.134 GB, free: 38.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009877/1.072, allocations: 5.636 MB / 1.14 GB, free: 34.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/1.072, allocations: 12 kB / 1.14 GB, free: 34.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/1.072, allocations: 20 kB / 1.14 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006312/1.079, allocations: 2.076 MB / 1.142 GB, free: 32.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.08, allocations: 384.9 kB / 1.142 GB, free: 32.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03009/1.111, allocations: 36.26 MB / 1.177 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/1.113, allocations: 123.9 kB / 1.178 GB, free: 9.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/1.114, allocations: 95.98 kB / 1.178 GB, free: 9.555 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.003172/1.117, allocations: 1.505 MB / 1.179 GB, free: 8.039 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008231/1.118, allocations: 284.6 kB / 1.179 GB, free: 7.758 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/1.128, allocations: 5.195 MB / 1.185 GB, free: 2.492 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.128, allocations: 16 kB / 1.185 GB, free: 2.477 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.835e-05/1.128, allocations: 20 kB / 1.185 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.026e-05/1.128, allocations: 7.969 kB / 1.185 GB, free: 2.449 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02142/1.15, allocations: 9.662 MB / 1.194 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.15, allocations: 8.156 kB / 1.194 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008932/1.151, allocations: 220.4 kB / 1.194 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005804/1.157, allocations: 1.839 MB / 1.196 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/1.157, allocations: 40 kB / 1.196 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03775/1.195, allocations: 35.28 MB / 1.231 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/1.195, allocations: 11.94 kB / 1.231 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/1.207, allocations: 5.416 MB / 1.236 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002914/1.209, allocations: 0.6225 MB / 1.236 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/1.211, allocations: 40 kB / 1.236 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/1.213, allocations: 127.8 kB / 1.237 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008214/1.214, allocations: 197.6 kB / 1.237 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/1.214, allocations: 52 kB / 1.237 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003094/1.217, allocations: 1.363 MB / 1.238 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/1.217, allocations: 0 / 1.238 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005945/1.223, allocations: 1.035 MB / 1.239 GB, free: 7.617 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.01146/1.235, allocations: 7.689 MB / 1.247 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.246, allocations: 6.251 MB / 1.253 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/1.246, allocations: 3.938 kB / 1.253 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.007882/1.254, allocations: 4.392 MB / 1.257 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005087/1.259, allocations: 0.8846 MB / 1.258 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06418/1.324, allocations: 36.88 MB / 1.294 GB, free: 13.11 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005452/1.329, allocations: 3.213 MB / 1.297 GB, free: 9.867 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002599/1.332, allocations: 0.5198 MB / 1.298 GB, free: 9.344 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002704/1.334, allocations: 1.675 MB / 1.299 GB, free: 7.668 MB / 0.823 GB Notification: Performance of SimCode: time 1.593e-06/1.334, allocations: 0 / 1.299 GB, free: 7.668 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/1.488, allocations: 85.56 MB / 1.383 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.488, allocations: 236 kB / 1.383 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.642/6.131, allocations: 0 / 1.383 GB, free: 2.777 MB / 0.9011 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)