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.001366/0.001366, allocations: 105.4 kB / 15.7 MB, free: 24 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.001691/0.001691, allocations: 199.3 kB / 16.64 MB, free: 6.453 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.496/1.496, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.793/1.793, allocations: 292.3 MB / 0.549 GB, free: 12.8 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.002808/0.002808, allocations: 74.14 kB / 0.6718 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.241, allocations: 114.5 MB / 0.7837 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01239/0.2534, allocations: 10.02 MB / 0.7934 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005446/0.2589, allocations: 3.085 MB / 0.7964 GB, free: 124 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009101/0.2598, allocations: 35.88 kB / 0.7965 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.2619, allocations: 0.6763 MB / 0.7971 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.2635, allocations: 0.7 MB / 0.7978 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.265, allocations: 0.639 MB / 0.7985 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002994/0.268, allocations: 2.738 MB / 0.8011 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/0.2707, allocations: 2.527 MB / 0.8036 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.2727, allocations: 1.129 MB / 0.8047 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.2745, allocations: 1.375 MB / 0.806 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.2748, allocations: 220 kB / 0.8062 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.2758, allocations: 487.3 kB / 0.8067 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.2768, allocations: 0.9785 MB / 0.8077 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.2779, allocations: 1.027 MB / 0.8087 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.2811, allocations: 3.397 MB / 0.812 GB, free: 132 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2811, allocations: 8 kB / 0.812 GB, free: 124 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2811, allocations: 0 / 0.812 GB, free: 124 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.62e-05/0.2812, allocations: 3.984 kB / 0.812 GB, free: 120 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.003835/0.2851, allocations: 1.947 MB / 0.8139 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2851, allocations: 11.97 kB / 0.8139 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000322/0.2854, allocations: 248.7 kB / 0.8142 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005653/0.2911, allocations: 0.8882 MB / 0.815 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.2933, allocations: 1.161 MB / 0.8162 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.092e-05/0.2934, allocations: 115.3 kB / 0.8163 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/0.2938, allocations: 144.3 kB / 0.8164 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004654/0.2984, allocations: 3.021 MB / 0.8193 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.2985, allocations: 0 / 0.8193 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.2987, allocations: 59.98 kB / 0.8194 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002222/0.2989, allocations: 179 kB / 0.8196 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004493/0.3034, allocations: 2.608 MB / 0.8221 GB, free: 5.531 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.01788/0.3213, allocations: 13.49 MB / 0.8353 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.3232, allocations: 1.301 MB / 0.8366 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.3245, allocations: 1.046 MB / 0.8376 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.76e-05/0.3246, allocations: 12.64 kB / 0.8376 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3247, allocations: 43.22 kB / 0.8376 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.3247, allocations: 0 / 0.8376 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.07218/0.3969, allocations: 19.38 MB / 0.8566 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.397, allocations: 64.72 kB / 0.8566 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.3981, allocations: 0.9261 MB / 0.8575 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.3983, allocations: 45.7 kB / 0.8576 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.3987, allocations: 0.7282 MB / 0.8583 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/0.3992, allocations: 489 kB / 0.8588 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005404/0.3997, allocations: 287.5 kB / 0.859 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3998, allocations: 357.9 kB / 0.8594 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.4017, allocations: 1.335 MB / 0.8607 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.4036, allocations: 1.655 MB / 0.8623 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/0.4074, allocations: 3.089 MB / 0.8653 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.4075, allocations: 8 kB / 0.8653 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01146/0.4189, allocations: 5.645 MB / 0.8708 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.419, allocations: 11.94 kB / 0.8708 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.419, allocations: 8 kB / 0.8708 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00885/0.4279, allocations: 2.72 MB / 0.8735 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000926/0.4289, allocations: 191.7 kB / 0.8737 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03425/0.4631, allocations: 25.71 MB / 0.8988 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.4647, allocations: 95.95 kB / 0.8989 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.4649, allocations: 52 kB / 0.8989 GB, free: 4.703 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.001119/0.466, allocations: 0.7382 MB / 0.8997 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.4663, allocations: 118.6 kB / 0.8998 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/0.4775, allocations: 5.384 MB / 0.905 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.4775, allocations: 23.94 kB / 0.9051 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.29e-05/0.4776, allocations: 16 kB / 0.9051 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.9e-05/0.4776, allocations: 7.969 kB / 0.9051 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.4937, allocations: 8.626 MB / 0.9135 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/0.4938, allocations: 4 kB / 0.9135 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.4943, allocations: 119.8 kB / 0.9136 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008489/0.5028, allocations: 2.549 MB / 0.9161 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002629/0.5031, allocations: 28 kB / 0.9161 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4173/0.9204, allocations: 22.97 MB / 0.9386 GB, free: 120.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.9204, allocations: 3.875 kB / 0.9386 GB, free: 120.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/0.9324, allocations: 5.132 MB / 0.9436 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.9335, allocations: 479.2 kB / 0.944 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/0.9337, allocations: 27.78 kB / 0.9441 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.9347, allocations: 77.38 kB / 0.9441 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006409/0.9354, allocations: 125.1 kB / 0.9443 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.9355, allocations: 34.97 kB / 0.9443 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000858/0.9364, allocations: 0.6466 MB / 0.9449 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9364, allocations: 1.156 kB / 0.9449 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002513/0.9389, allocations: 0.7204 MB / 0.9456 GB, free: 118.6 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.01053/0.9494, allocations: 5.727 MB / 0.9512 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007032/0.9565, allocations: 4.17 MB / 0.9553 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.9565, allocations: 0 / 0.9553 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005135/0.9617, allocations: 2.657 MB / 0.9579 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.9633, allocations: 228.5 kB / 0.9581 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03253/0.9959, allocations: 21.31 MB / 0.9789 GB, free: 96.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.9975, allocations: 1.702 MB / 0.9806 GB, free: 95.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007123/0.9982, allocations: 327.1 kB / 0.9809 GB, free: 94.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006247/0.9988, allocations: 0.5305 MB / 0.9814 GB, free: 94.39 MB / 0.7325 GB Notification: Performance of SimCode: time 1.704e-06/0.9988, allocations: 192 / 0.9814 GB, free: 94.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07526/1.074, allocations: 51.42 MB / 1.032 GB, free: 43.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.38, allocations: 7.797 kB / 1.032 GB, free: 43.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --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)