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.ACLineMatrix_RL.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.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.861/1.861, allocations: 288.4 MB / 303.3 MB, free: 8.172 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.001022/0.001022, allocations: 176.6 kB / 372 MB, free: 10.28 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.556/1.556, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0007065/0.0007066, allocations: 102.3 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005375/0.0005375, allocations: 14.2 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2198, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01588/0.2358, allocations: 20.49 MB / 0.9997 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008249/0.2441, allocations: 5.978 MB / 1.006 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.2459, allocations: 79.5 kB / 1.006 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.2472, allocations: 424.7 kB / 1.006 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.2512, allocations: 1.35 MB / 1.007 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003956/0.2552, allocations: 0.8266 MB / 1.008 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01166/0.2669, allocations: 6.854 MB / 1.015 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01517/0.2821, allocations: 6.201 MB / 1.021 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00607/0.2883, allocations: 1.798 MB / 1.023 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00636/0.2947, allocations: 2.555 MB / 1.025 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.2958, allocations: 204 kB / 1.025 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.2988, allocations: 0.5463 MB / 1.026 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00304/0.3019, allocations: 1.711 MB / 1.028 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.3036, allocations: 0.7303 MB / 1.028 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.3143, allocations: 5.996 MB / 1.034 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3143, allocations: 0 / 1.034 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.816e-06/0.3143, allocations: 0 / 1.034 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002476/0.3146, allocations: 0 / 1.034 GB, free: 3.637 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01058/0.3252, allocations: 3.111 MB / 1.037 GB, free: 476 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.3253, allocations: 12.03 kB / 1.037 GB, free: 464 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002204/0.3275, allocations: 0.5012 MB / 1.038 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009911/0.3374, allocations: 1.209 MB / 1.039 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007094/0.3445, allocations: 2.161 MB / 1.041 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.3449, allocations: 246.3 kB / 1.041 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/0.3466, allocations: 312 kB / 1.041 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/0.3668, allocations: 6.185 MB / 1.047 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.367, allocations: 19.78 kB / 1.048 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001041/0.3681, allocations: 139.9 kB / 1.048 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009027/0.369, allocations: 410.3 kB / 1.048 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.3842, allocations: 4.639 MB / 1.053 GB, free: 324 kB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6004/0.9846, allocations: 29.03 MB / 1.081 GB, free: 68.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.9876, allocations: 1.425 MB / 1.082 GB, free: 68.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/0.9903, allocations: 1.485 MB / 1.084 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.9905, allocations: 11.91 kB / 1.084 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.9905, allocations: 44.17 kB / 1.084 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 3.456e-06/0.9906, allocations: 0.6562 kB / 1.084 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179): time 0.1366/1.127, allocations: 36.3 MB / 1.119 GB, free: 56.38 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/1.127, allocations: 70.06 kB / 1.119 GB, free: 56.31 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/1.129, allocations: 1.41 MB / 1.121 GB, free: 55.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003417/1.13, allocations: 53.33 kB / 1.121 GB, free: 55.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006863/1.13, allocations: 1.542 MB / 1.122 GB, free: 54.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005182/1.131, allocations: 0.6062 MB / 1.123 GB, free: 53.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/1.131, allocations: 41.88 kB / 1.123 GB, free: 53.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/1.131, allocations: 389.9 kB / 1.123 GB, free: 53.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/1.133, allocations: 1.779 MB / 1.125 GB, free: 51.69 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/1.135, allocations: 2.346 MB / 1.127 GB, free: 49.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/1.138, allocations: 2.051 MB / 1.129 GB, free: 47.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.138, allocations: 4 kB / 1.129 GB, free: 47.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0156/1.153, allocations: 8.54 MB / 1.138 GB, free: 38.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/1.153, allocations: 12 kB / 1.138 GB, free: 38.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/1.153, allocations: 19.84 kB / 1.138 GB, free: 38.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0133/1.167, allocations: 4.624 MB / 1.142 GB, free: 33.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.168, allocations: 307.4 kB / 1.142 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0361/1.204, allocations: 29.43 MB / 1.171 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/1.206, allocations: 151.8 kB / 1.171 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/1.207, allocations: 87.94 kB / 1.171 GB, free: 3.031 MB / 0.6823 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002259/1.209, allocations: 1.329 MB / 1.173 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006331/1.209, allocations: 197.6 kB / 1.173 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0174/1.227, allocations: 8.419 MB / 1.181 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/1.227, allocations: 16 kB / 1.181 GB, free: 9.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001069/1.227, allocations: 27.94 kB / 1.181 GB, free: 8.992 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.526e-05/1.227, allocations: 7.969 kB / 1.181 GB, free: 8.984 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02647/1.254, allocations: 12.83 MB / 1.194 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-05/1.254, allocations: 4 kB / 1.194 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/1.255, allocations: 171.7 kB / 1.194 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01471/1.269, allocations: 4.484 MB / 1.198 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004209/1.27, allocations: 43.97 kB / 1.198 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04424/1.314, allocations: 29.05 MB / 1.227 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/1.314, allocations: 11.94 kB / 1.227 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/1.331, allocations: 8.22 MB / 1.235 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.333, allocations: 0.6157 MB / 1.235 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004018/1.333, allocations: 44.98 kB / 1.235 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.335, allocations: 131.8 kB / 1.235 GB, free: 292 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007183/1.336, allocations: 173 kB / 1.236 GB, free: 120 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.336, allocations: 44 kB / 1.236 GB, free: 76 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00134/1.337, allocations: 0.9431 MB / 1.237 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.61e-07/1.337, allocations: 0 / 1.237 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003769/1.341, allocations: 1.102 MB / 1.238 GB, free: 14.04 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01723/1.358, allocations: 8.818 MB / 1.246 GB, free: 5.078 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.371, allocations: 6.411 MB / 1.253 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.371, allocations: 7.375 kB / 1.253 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.009413/1.38, allocations: 4.287 MB / 1.257 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003032/1.383, allocations: 496.8 kB / 1.257 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04389/1.427, allocations: 24.53 MB / 1.281 GB, free: 164 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003093/1.431, allocations: 2.725 MB / 1.284 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001348/1.432, allocations: 388.5 kB / 1.284 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/1.433, allocations: 1.216 MB / 1.285 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of SimCode: time 1.152e-06/1.433, allocations: 0 / 1.285 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/1.557, allocations: 78.64 MB / 1.362 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/1.557, allocations: 256.1 kB / 1.362 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.752/5.309, allocations: 0 / 1.362 GB, free: 13.34 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)