Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001113/0.001113, 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.001145/0.001145, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.366/1.366, 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.626/1.626, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.00146/0.00146, allocations: 67.77 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2184, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01317/0.2316, allocations: 10.02 MB / 0.7934 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005992/0.2377, allocations: 3.081 MB / 0.7964 GB, free: 104 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000975/0.2388, allocations: 35.81 kB / 0.7965 GB, free: 68 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.2409, allocations: 0.6803 MB / 0.7971 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.2429, allocations: 0.6883 MB / 0.7978 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.2446, allocations: 0.6421 MB / 0.7984 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003606/0.2483, allocations: 2.738 MB / 0.8011 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.2515, allocations: 2.547 MB / 0.8036 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.2536, allocations: 1.137 MB / 0.8047 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.2557, allocations: 1.383 MB / 0.8061 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.2561, allocations: 216 kB / 0.8063 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.2571, allocations: 487.4 kB / 0.8067 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.2582, allocations: 0.9824 MB / 0.8077 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.2594, allocations: 1.011 MB / 0.8087 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003331/0.2627, allocations: 3.412 MB / 0.812 GB, free: 80 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2628, allocations: 0 / 0.812 GB, free: 80 kB / 0.6231 GB Notification: Performance of FrontEnd: time 4.118e-06/0.2628, allocations: 0 / 0.812 GB, free: 80 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.326e-05/0.2629, allocations: 3.938 kB / 0.812 GB, free: 76 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004853/0.2677, allocations: 1.944 MB / 0.8139 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.2678, allocations: 8.031 kB / 0.8139 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003877/0.2682, allocations: 256.7 kB / 0.8142 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005779/0.274, allocations: 0.8804 MB / 0.815 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.2767, allocations: 1.165 MB / 0.8162 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.2768, allocations: 107.3 kB / 0.8163 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003875/0.2772, allocations: 148.2 kB / 0.8164 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004959/0.2821, allocations: 3.017 MB / 0.8194 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.2822, allocations: 3.938 kB / 0.8194 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.2824, allocations: 67.97 kB / 0.8194 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/0.2827, allocations: 186.9 kB / 0.8196 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004622/0.2873, allocations: 2.604 MB / 0.8221 GB, free: 5.484 MB / 0.6387 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.01641/0.3037, allocations: 13.48 MB / 0.8353 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.3057, allocations: 1.291 MB / 0.8366 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.307, allocations: 1.058 MB / 0.8376 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.582e-05/0.3071, allocations: 8.656 kB / 0.8376 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3072, allocations: 35.22 kB / 0.8376 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.846e-06/0.3072, allocations: 0 / 0.8376 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.07237/0.3795, allocations: 19.38 MB / 0.8566 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.3797, allocations: 64.72 kB / 0.8566 GB, free: 0.875 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.3812, allocations: 0.9222 MB / 0.8575 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003239/0.3815, allocations: 49.7 kB / 0.8576 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007136/0.3822, allocations: 0.7283 MB / 0.8583 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006942/0.3829, allocations: 489 kB / 0.8588 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006609/0.3836, allocations: 287.4 kB / 0.859 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3838, allocations: 349.9 kB / 0.8594 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.3857, allocations: 1.343 MB / 0.8607 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.3878, allocations: 1.655 MB / 0.8623 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/0.3917, allocations: 3.093 MB / 0.8653 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3917, allocations: 4 kB / 0.8653 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01142/0.4031, allocations: 5.632 MB / 0.8708 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.4032, allocations: 11.94 kB / 0.8708 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.4032, allocations: 12.64 kB / 0.8708 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009117/0.4124, allocations: 2.722 MB / 0.8735 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008935/0.4133, allocations: 191.7 kB / 0.8737 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03845/0.4518, allocations: 25.72 MB / 0.8988 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.4535, allocations: 99.94 kB / 0.8989 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/0.4538, allocations: 56 kB / 0.899 GB, free: 4.66 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001359/0.4552, allocations: 0.7315 MB / 0.8997 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.4556, allocations: 118.6 kB / 0.8998 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.467, allocations: 5.396 MB / 0.905 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.467, allocations: 16 kB / 0.9051 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.485e-05/0.4671, allocations: 16 kB / 0.9051 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-05/0.4671, allocations: 3.984 kB / 0.9051 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.4841, allocations: 8.615 MB / 0.9135 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/0.4842, allocations: 8.453 kB / 0.9135 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.4848, allocations: 123.8 kB / 0.9136 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008848/0.4936, allocations: 2.553 MB / 0.9161 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002321/0.4939, allocations: 32 kB / 0.9161 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4627/0.9566, allocations: 22.97 MB / 0.9386 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-06/0.9566, allocations: 7.75 kB / 0.9386 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.9682, allocations: 5.126 MB / 0.9436 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009987/0.9692, allocations: 477.8 kB / 0.944 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.9694, allocations: 29.22 kB / 0.9441 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008998/0.9703, allocations: 79 kB / 0.9442 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006203/0.9709, allocations: 122.5 kB / 0.9443 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.971, allocations: 39.64 kB / 0.9443 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008844/0.9719, allocations: 0.643 MB / 0.9449 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9719, allocations: 0 / 0.9449 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002614/0.9746, allocations: 0.7226 MB / 0.9456 GB, free: 118.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01136/0.9859, allocations: 5.722 MB / 0.9512 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007243/0.9932, allocations: 4.172 MB / 0.9553 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.9932, allocations: 0 / 0.9553 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004911/0.9982, allocations: 2.656 MB / 0.9579 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.9995, allocations: 220.3 kB / 0.9581 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03026/1.03, allocations: 21.32 MB / 0.9789 GB, free: 96.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/1.031, allocations: 1.708 MB / 0.9806 GB, free: 95.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006822/1.032, allocations: 327 kB / 0.9809 GB, free: 94.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/1.032, allocations: 0.5266 MB / 0.9814 GB, free: 94.32 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/1.032, allocations: 0 / 0.9814 GB, free: 94.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/1.136, allocations: 51.41 MB / 1.032 GB, free: 43.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.43, allocations: 11.92 kB / 1.032 GB, free: 43.32 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)