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.001588/0.001588, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 188.4 kB / 16.62 MB, free: 6.582 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.404/1.404, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.695/1.695, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.00201/0.00201, allocations: 67.08 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2212, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02453/0.2458, allocations: 22.59 MB / 0.8057 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.2564, allocations: 6.276 MB / 0.8118 GB, free: 268 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.2586, allocations: 95.56 kB / 0.8119 GB, free: 172 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004299/0.2629, allocations: 1.55 MB / 0.8134 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.267, allocations: 1.618 MB / 0.815 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.2704, allocations: 1.348 MB / 0.8163 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006843/0.2773, allocations: 5.931 MB / 0.8221 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007777/0.2851, allocations: 6.049 MB / 0.828 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004062/0.2892, allocations: 2.415 MB / 0.8304 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004439/0.2937, allocations: 2.874 MB / 0.8332 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.2948, allocations: 456 kB / 0.8336 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.2972, allocations: 1.088 MB / 0.8347 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002059/0.2992, allocations: 2.035 MB / 0.8367 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002805/0.3021, allocations: 2.163 MB / 0.8388 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007049/0.3091, allocations: 7.299 MB / 0.8459 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.3092, allocations: 4 kB / 0.8459 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3092, allocations: 0 / 0.8459 GB, free: 13.18 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001831/0.3094, allocations: 0 / 0.8459 GB, free: 13.18 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.007721/0.3171, allocations: 3.816 MB / 0.8497 GB, free: 9.297 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.3172, allocations: 8.031 kB / 0.8497 GB, free: 9.289 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007725/0.3179, allocations: 0.4976 MB / 0.8501 GB, free: 8.781 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006113/0.3241, allocations: 1.214 MB / 0.8513 GB, free: 7.562 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/0.3285, allocations: 2.344 MB / 0.8536 GB, free: 5.16 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.3287, allocations: 234.4 kB / 0.8538 GB, free: 4.93 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007416/0.3294, allocations: 315.9 kB / 0.8541 GB, free: 4.621 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.34, allocations: 6.209 MB / 0.8602 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.853e-05/0.3401, allocations: 15.86 kB / 0.8602 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003807/0.3405, allocations: 143.9 kB / 0.8604 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004709/0.3409, allocations: 406.3 kB / 0.8607 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008091/0.349, allocations: 4.666 MB / 0.8653 GB, free: 8.922 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.03014/0.3792, allocations: 28.95 MB / 0.8936 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.3812, allocations: 1.419 MB / 0.895 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.383, allocations: 1.483 MB / 0.8964 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.3831, allocations: 9 kB / 0.8964 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3831, allocations: 55.5 kB / 0.8965 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 2.705e-06/0.3832, allocations: 0 / 0.8965 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=179): time 0.5489/0.9321, allocations: 37.23 MB / 0.9328 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.9322, allocations: 74.38 kB / 0.9329 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.9342, allocations: 1.423 MB / 0.9343 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003323/0.9346, allocations: 56.67 kB / 0.9343 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007854/0.9354, allocations: 1.537 MB / 0.9358 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005335/0.9359, allocations: 0.6132 MB / 0.9364 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008581/0.9368, allocations: 383.9 kB / 0.9368 GB, free: 125 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.9368, allocations: 301.7 kB / 0.9371 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/0.9394, allocations: 1.786 MB / 0.9388 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.9419, allocations: 2.347 MB / 0.9411 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004761/0.9466, allocations: 4.393 MB / 0.9454 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.9466, allocations: 5.75 kB / 0.9454 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01641/0.9631, allocations: 8.572 MB / 0.9538 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.9631, allocations: 12.38 kB / 0.9538 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.9632, allocations: 19.72 kB / 0.9538 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01342/0.9766, allocations: 4.632 MB / 0.9584 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.9778, allocations: 308.5 kB / 0.9587 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03698/1.015, allocations: 32.58 MB / 0.9905 GB, free: 82.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/1.017, allocations: 152 kB / 0.9906 GB, free: 82.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/1.017, allocations: 80 kB / 0.9907 GB, free: 82.54 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.001844/1.019, allocations: 1.336 MB / 0.992 GB, free: 81.19 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/1.02, allocations: 201.6 kB / 0.9922 GB, free: 80.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/1.034, allocations: 8.429 MB / 1 GB, free: 72.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/1.034, allocations: 28 kB / 1 GB, free: 72.49 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.119e-05/1.034, allocations: 28 kB / 1 GB, free: 72.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/1.034, allocations: 15.53 kB / 1 GB, free: 72.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02049/1.055, allocations: 12.83 MB / 1.013 GB, free: 59.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.055, allocations: 8.844 kB / 1.013 GB, free: 59.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/1.056, allocations: 167.7 kB / 1.013 GB, free: 59.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01259/1.068, allocations: 4.489 MB / 1.018 GB, free: 54.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002593/1.069, allocations: 39.98 kB / 1.018 GB, free: 54.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03569/1.104, allocations: 32.19 MB / 1.049 GB, free: 21.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.104, allocations: 11.94 kB / 1.049 GB, free: 21.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.119, allocations: 8.236 MB / 1.057 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/1.12, allocations: 0.6194 MB / 1.058 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/1.12, allocations: 43.98 kB / 1.058 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.122, allocations: 135.8 kB / 1.058 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/1.122, allocations: 172.8 kB / 1.058 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.123, allocations: 56.94 kB / 1.058 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009748/1.124, allocations: 0.9548 MB / 1.059 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.124, allocations: 0 / 1.059 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003085/1.127, allocations: 1.117 MB / 1.06 GB, free: 10.3 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.01416/1.141, allocations: 8.832 MB / 1.069 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.153, allocations: 6.531 MB / 1.075 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.153, allocations: 4 kB / 1.075 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.009026/1.162, allocations: 4.364 MB / 1.079 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/1.165, allocations: 0.524 MB / 1.08 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06055/1.225, allocations: 33.63 MB / 1.113 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002893/1.228, allocations: 2.723 MB / 1.115 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001053/1.229, allocations: 388 kB / 1.116 GB, free: 168 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/1.231, allocations: 1.232 MB / 1.117 GB, free: 14.98 MB / 0.795 GB Notification: Performance of SimCode: time 1.403e-06/1.231, allocations: 0 / 1.117 GB, free: 14.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/1.361, allocations: 82.86 MB / 1.198 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.49, allocations: 15.84 kB / 1.198 GB, free: 12.65 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)