Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 193.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 66.5 kB / 0.6709 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1841, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02155/0.2057, allocations: 22.43 MB / 0.8047 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.2158, allocations: 6.288 MB / 0.8108 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.2181, allocations: 83.5 kB / 0.8109 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003367/0.2216, allocations: 1.415 MB / 0.8123 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.2249, allocations: 1.537 MB / 0.8138 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.2277, allocations: 1.235 MB / 0.815 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007446/0.2351, allocations: 8.853 MB / 0.8237 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008815/0.244, allocations: 6.738 MB / 0.8302 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.2473, allocations: 2.055 MB / 0.8322 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004335/0.2517, allocations: 2.96 MB / 0.8351 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001208/0.2529, allocations: 316 kB / 0.8354 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.2559, allocations: 1.135 MB / 0.8365 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002875/0.2588, allocations: 1.898 MB / 0.8384 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003965/0.2628, allocations: 2.014 MB / 0.8404 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007098/0.2699, allocations: 7.178 MB / 0.8474 GB, free: 11.57 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.2699, allocations: 0 / 0.8474 GB, free: 11.57 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2699, allocations: 3.938 kB / 0.8474 GB, free: 11.57 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000148/0.2701, allocations: 3.938 kB / 0.8474 GB, free: 11.56 MB / 0.67 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.00683/0.2769, allocations: 3.813 MB / 0.8511 GB, free: 7.688 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.277, allocations: 12.03 kB / 0.8511 GB, free: 7.676 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006947/0.2777, allocations: 0.4976 MB / 0.8516 GB, free: 7.168 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005777/0.2835, allocations: 1.21 MB / 0.8528 GB, free: 5.953 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00406/0.2876, allocations: 2.211 MB / 0.8549 GB, free: 3.684 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.2878, allocations: 242.4 kB / 0.8552 GB, free: 3.445 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006963/0.2885, allocations: 319.9 kB / 0.8555 GB, free: 3.133 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00909/0.2976, allocations: 6.216 MB / 0.8615 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.745e-05/0.2977, allocations: 11.94 kB / 0.8616 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003568/0.298, allocations: 136 kB / 0.8617 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004279/0.2985, allocations: 406.3 kB / 0.8621 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007207/0.3057, allocations: 4.666 MB / 0.8666 GB, free: 7.441 MB / 0.6856 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.02773/0.3334, allocations: 29.14 MB / 0.8951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.3353, allocations: 1.412 MB / 0.8965 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.337, allocations: 1.495 MB / 0.8979 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.3372, allocations: 12.98 kB / 0.8979 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3372, allocations: 47.5 kB / 0.898 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 2.605e-06/0.3372, allocations: 0 / 0.898 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=179): time 0.4442/0.7814, allocations: 37.22 MB / 0.9343 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.7815, allocations: 86.08 kB / 0.9344 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.7837, allocations: 1.423 MB / 0.9358 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002476/0.784, allocations: 51.48 kB / 0.9358 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006598/0.7846, allocations: 1.534 MB / 0.9373 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004586/0.7851, allocations: 0.6138 MB / 0.9379 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000712/0.7858, allocations: 384.5 kB / 0.9383 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.7859, allocations: 306.4 kB / 0.9386 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.7881, allocations: 1.786 MB / 0.9404 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/0.7905, allocations: 2.344 MB / 0.9426 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004781/0.7953, allocations: 4.389 MB / 0.9469 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.7953, allocations: 5.562 kB / 0.9469 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01557/0.8109, allocations: 8.567 MB / 0.9553 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.811, allocations: 16.06 kB / 0.9553 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.811, allocations: 15.62 kB / 0.9553 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01324/0.8242, allocations: 4.639 MB / 0.9599 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.8253, allocations: 303.8 kB / 0.9601 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03383/0.8592, allocations: 29.66 MB / 0.9891 GB, free: 84.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.8611, allocations: 147.8 kB / 0.9893 GB, free: 84.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.8613, allocations: 87.98 kB / 0.9893 GB, free: 84.11 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001684/0.863, allocations: 1.325 MB / 0.9906 GB, free: 82.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.8634, allocations: 205.5 kB / 0.9908 GB, free: 82.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.8775, allocations: 8.438 MB / 0.9991 GB, free: 74.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.8775, allocations: 20 kB / 0.9991 GB, free: 74.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.775e-05/0.8776, allocations: 27.98 kB / 0.9991 GB, free: 74.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/0.8776, allocations: 7.969 kB / 0.9991 GB, free: 74.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01973/0.8973, allocations: 12.85 MB / 1.012 GB, free: 61.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.8974, allocations: 4 kB / 1.012 GB, free: 61.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/0.898, allocations: 169.4 kB / 1.012 GB, free: 60.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0126/0.9106, allocations: 4.484 MB / 1.016 GB, free: 56.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/0.9109, allocations: 40 kB / 1.016 GB, free: 56.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03375/0.9447, allocations: 29.27 MB / 1.045 GB, free: 26.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.9447, allocations: 7.938 kB / 1.045 GB, free: 26.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/0.9589, allocations: 8.24 MB / 1.053 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.9603, allocations: 0.6156 MB / 1.053 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003734/0.9607, allocations: 47.92 kB / 1.054 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.962, allocations: 135.9 kB / 1.054 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007561/0.9627, allocations: 176.8 kB / 1.054 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.9629, allocations: 49.31 kB / 1.054 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009904/0.9639, allocations: 0.9588 MB / 1.055 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9639, allocations: 4 kB / 1.055 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002922/0.9668, allocations: 1.109 MB / 1.056 GB, free: 14.83 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01537/0.9822, allocations: 8.84 MB / 1.065 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01113/0.9933, allocations: 6.503 MB / 1.071 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/0.9934, allocations: 4.188 kB / 1.071 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008905/1.002, allocations: 4.366 MB / 1.075 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/1.005, allocations: 0.4893 MB / 1.076 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06178/1.067, allocations: 36.72 MB / 1.111 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/1.07, allocations: 2.719 MB / 1.114 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001212/1.071, allocations: 389.1 kB / 1.115 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/1.072, allocations: 1.216 MB / 1.116 GB, free: 15.61 MB / 0.795 GB Notification: Performance of SimCode: time 1.172e-06/1.072, allocations: 0 / 1.116 GB, free: 15.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/1.185, allocations: 80.96 MB / 1.195 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/1.185, allocations: 250.8 kB / 1.195 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/4.084, allocations: 6.234 kB / 1.195 GB, free: 14.91 MB / 0.8731 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)