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.001089/0.001089, 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.001115/0.001115, allocations: 188.8 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.348/1.348, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.637/1.637, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001381/0.001381, allocations: 71.41 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2263, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02434/0.2507, allocations: 22.6 MB / 0.8057 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.261, allocations: 6.276 MB / 0.8118 GB, free: 304 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.2627, allocations: 91.56 kB / 0.8119 GB, free: 212 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003704/0.2665, allocations: 1.542 MB / 0.8134 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003841/0.2703, allocations: 1.629 MB / 0.815 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.2735, allocations: 1.347 MB / 0.8163 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006507/0.28, allocations: 5.924 MB / 0.8221 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007153/0.2871, allocations: 6.099 MB / 0.8281 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.2908, allocations: 2.419 MB / 0.8304 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004222/0.2951, allocations: 2.87 MB / 0.8332 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008168/0.2959, allocations: 460 kB / 0.8337 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.2982, allocations: 1.096 MB / 0.8348 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.3002, allocations: 2.027 MB / 0.8367 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002759/0.303, allocations: 2.17 MB / 0.8389 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007783/0.3108, allocations: 7.295 MB / 0.846 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3108, allocations: 3.938 kB / 0.846 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3108, allocations: 0 / 0.846 GB, free: 13.17 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000191/0.311, allocations: 0 / 0.846 GB, free: 13.17 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.008074/0.3191, allocations: 3.816 MB / 0.8497 GB, free: 9.289 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3192, allocations: 12.03 kB / 0.8497 GB, free: 9.277 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007991/0.32, allocations: 0.4976 MB / 0.8502 GB, free: 8.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006049/0.326, allocations: 1.21 MB / 0.8514 GB, free: 7.555 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/0.3307, allocations: 2.332 MB / 0.8537 GB, free: 5.164 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.3309, allocations: 250.4 kB / 0.8539 GB, free: 4.918 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008527/0.3318, allocations: 311.9 kB / 0.8542 GB, free: 4.613 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.3436, allocations: 6.209 MB / 0.8603 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.596e-05/0.3437, allocations: 11.88 kB / 0.8603 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005751/0.3443, allocations: 143.9 kB / 0.8604 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004997/0.3448, allocations: 406.3 kB / 0.8608 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008827/0.3537, allocations: 4.666 MB / 0.8654 GB, free: 8.918 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.03467/0.3884, allocations: 28.95 MB / 0.8936 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.3905, allocations: 1.428 MB / 0.895 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.3924, allocations: 1.483 MB / 0.8965 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.3925, allocations: 9 kB / 0.8965 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3926, allocations: 47.5 kB / 0.8965 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.436e-06/0.3926, allocations: 0 / 0.8965 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=179): time 0.5302/0.9228, allocations: 37.24 MB / 0.9329 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.9229, allocations: 74.88 kB / 0.933 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.9251, allocations: 1.419 MB / 0.9343 GB, free: 127 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003618/0.9255, allocations: 55.83 kB / 0.9344 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000963/0.9264, allocations: 1.538 MB / 0.9359 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006805/0.9271, allocations: 0.6124 MB / 0.9365 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009097/0.928, allocations: 381.5 kB / 0.9369 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.9281, allocations: 302.2 kB / 0.9372 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0029/0.931, allocations: 1.786 MB / 0.9389 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/0.9337, allocations: 2.35 MB / 0.9412 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005675/0.9394, allocations: 4.392 MB / 0.9455 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/0.9395, allocations: 5.625 kB / 0.9455 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01865/0.9581, allocations: 8.572 MB / 0.9539 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.9582, allocations: 11.81 kB / 0.9539 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.9582, allocations: 19.52 kB / 0.9539 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01354/0.9718, allocations: 4.633 MB / 0.9584 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.973, allocations: 306.9 kB / 0.9587 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03761/1.011, allocations: 32.58 MB / 0.9905 GB, free: 82.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.013, allocations: 155.8 kB / 0.9907 GB, free: 82.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/1.013, allocations: 83.94 kB / 0.9908 GB, free: 82.62 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.002322/1.016, allocations: 1.332 MB / 0.9921 GB, free: 81.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005274/1.016, allocations: 197.6 kB / 0.9922 GB, free: 81.08 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01498/1.031, allocations: 8.437 MB / 1 GB, free: 72.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/1.031, allocations: 19.94 kB / 1 GB, free: 72.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-05/1.031, allocations: 26.72 kB / 1.001 GB, free: 72.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-05/1.031, allocations: 11.97 kB / 1.001 GB, free: 72.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/1.052, allocations: 12.83 MB / 1.013 GB, free: 59.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/1.052, allocations: 8.844 kB / 1.013 GB, free: 59.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000664/1.052, allocations: 167.7 kB / 1.013 GB, free: 59.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/1.065, allocations: 4.484 MB / 1.018 GB, free: 54.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003193/1.065, allocations: 35.98 kB / 1.018 GB, free: 54.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03659/1.102, allocations: 32.2 MB / 1.049 GB, free: 21.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.102, allocations: 11.94 kB / 1.049 GB, free: 21.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/1.116, allocations: 8.236 MB / 1.057 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.118, allocations: 0.6156 MB / 1.058 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/1.118, allocations: 43.98 kB / 1.058 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.12, allocations: 135.8 kB / 1.058 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007258/1.12, allocations: 172.8 kB / 1.058 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.12, allocations: 55.94 kB / 1.058 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001018/1.121, allocations: 0.9588 MB / 1.059 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/1.121, allocations: 0 / 1.059 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003278/1.125, allocations: 1.113 MB / 1.06 GB, free: 10.39 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.01423/1.139, allocations: 8.833 MB / 1.069 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.151, allocations: 6.531 MB / 1.075 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/1.151, allocations: 0 / 1.075 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.009411/1.161, allocations: 4.366 MB / 1.079 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/1.163, allocations: 0.5275 MB / 1.08 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05773/1.221, allocations: 33.62 MB / 1.113 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/1.224, allocations: 2.727 MB / 1.115 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001098/1.225, allocations: 388.3 kB / 1.116 GB, free: 256 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/1.227, allocations: 1.223 MB / 1.117 GB, free: 15.08 MB / 0.795 GB Notification: Performance of SimCode: time 2.705e-06/1.227, allocations: 4 kB / 1.117 GB, free: 15.07 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/1.364, allocations: 82.87 MB / 1.198 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.38, allocations: 7.844 kB / 1.198 GB, free: 12.75 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)