Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_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.007794/0.007794, allocations: 98.02 kB / 15.73 MB, free: 6.07 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.001656/0.001656, allocations: 195.6 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00252/0.00252, allocations: 290.3 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002688, allocations: 99.84 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4111, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02673/0.4378, allocations: 22.57 MB / 0.788 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.4496, allocations: 6.225 MB / 0.794 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.4518, allocations: 95.5 kB / 0.7941 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004416/0.4562, allocations: 1.548 MB / 0.7957 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004293/0.4605, allocations: 1.625 MB / 0.7972 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.4642, allocations: 1.345 MB / 0.7986 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007564/0.4718, allocations: 5.947 MB / 0.8044 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008853/0.4807, allocations: 6.041 MB / 0.8103 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00433/0.4851, allocations: 2.422 MB / 0.8126 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004769/0.4899, allocations: 2.862 MB / 0.8154 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.4912, allocations: 460 kB / 0.8159 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.4941, allocations: 1.096 MB / 0.8169 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00292/0.497, allocations: 2.031 MB / 0.8189 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003383/0.5004, allocations: 2.167 MB / 0.821 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008583/0.509, allocations: 7.313 MB / 0.8282 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.5091, allocations: 0 / 0.8282 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5091, allocations: 0 / 0.8282 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000178/0.5093, allocations: 4 kB / 0.8282 GB, free: 3.852 MB / 0.5919 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.009764/0.519, allocations: 3.921 MB / 0.832 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.5191, allocations: 12.03 kB / 0.832 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001088/0.5202, allocations: 0.4976 MB / 0.8325 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006417/0.5266, allocations: 1.227 MB / 0.8337 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004663/0.5313, allocations: 2.353 MB / 0.836 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.5316, allocations: 246.4 kB / 0.8362 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008421/0.5324, allocations: 308 kB / 0.8365 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.5435, allocations: 6.216 MB / 0.8426 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.403e-05/0.5436, allocations: 11.88 kB / 0.8426 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003812/0.544, allocations: 147.9 kB / 0.8427 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005525/0.5446, allocations: 406.3 kB / 0.8431 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008426/0.553, allocations: 4.662 MB / 0.8477 GB, free: 15.46 MB / 0.6231 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.03529/0.5883, allocations: 28.99 MB / 0.876 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.5906, allocations: 1.412 MB / 0.8774 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.5928, allocations: 1.48 MB / 0.8788 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.5929, allocations: 12.98 kB / 0.8788 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.593, allocations: 51.44 kB / 0.8789 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.066e-06/0.593, allocations: 4 kB / 0.8789 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179): time 0.1526/0.7456, allocations: 37.3 MB / 0.9153 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.7457, allocations: 77.33 kB / 0.9154 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/0.7484, allocations: 1.415 MB / 0.9168 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003441/0.7487, allocations: 61.7 kB / 0.9168 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.75, allocations: 1.579 MB / 0.9184 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008042/0.7508, allocations: 0.6429 MB / 0.919 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008714/0.7517, allocations: 383.5 kB / 0.9194 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7518, allocations: 301.1 kB / 0.9197 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002803/0.7547, allocations: 1.788 MB / 0.9214 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003307/0.758, allocations: 2.35 MB / 0.9237 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0063/0.7643, allocations: 4.387 MB / 0.928 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.7643, allocations: 4 kB / 0.928 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01938/0.7837, allocations: 8.579 MB / 0.9364 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.7838, allocations: 12 kB / 0.9364 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.7838, allocations: 19.94 kB / 0.9364 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01562/0.7994, allocations: 4.64 MB / 0.9409 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.8007, allocations: 311.4 kB / 0.9412 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4038/1.205, allocations: 32.61 MB / 0.9731 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/1.207, allocations: 149.4 kB / 0.9732 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/1.207, allocations: 82.36 kB / 0.9733 GB, free: 181.3 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.00257/1.21, allocations: 1.334 MB / 0.9746 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004612/1.21, allocations: 211.2 kB / 0.9748 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/1.226, allocations: 8.439 MB / 0.983 GB, free: 178.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/1.226, allocations: 19.97 kB / 0.983 GB, free: 178.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-05/1.227, allocations: 23.09 kB / 0.9831 GB, free: 178.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/1.227, allocations: 15.2 kB / 0.9831 GB, free: 178.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01967/1.246, allocations: 12.84 MB / 0.9956 GB, free: 174 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.246, allocations: 10.5 kB / 0.9956 GB, free: 174 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/1.247, allocations: 165.9 kB / 0.9958 GB, free: 174 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01263/1.26, allocations: 4.485 MB / 1 GB, free: 171.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/1.26, allocations: 39.88 kB / 1 GB, free: 171.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03671/1.296, allocations: 32.23 MB / 1.032 GB, free: 138.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.297, allocations: 11.94 kB / 1.032 GB, free: 138.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/1.311, allocations: 8.249 MB / 1.04 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.312, allocations: 0.6245 MB / 1.04 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/1.312, allocations: 39.98 kB / 1.04 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.314, allocations: 135.8 kB / 1.041 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006995/1.314, allocations: 172.8 kB / 1.041 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/1.314, allocations: 52 kB / 1.041 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001008/1.316, allocations: 0.9549 MB / 1.042 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.316, allocations: 0 / 1.042 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002752/1.318, allocations: 1.117 MB / 1.043 GB, free: 127.1 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.01418/1.332, allocations: 8.85 MB / 1.051 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.343, allocations: 6.554 MB / 1.058 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.343, allocations: 4 kB / 1.058 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007677/1.351, allocations: 4.382 MB / 1.062 GB, free: 107 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.353, allocations: 0.5274 MB / 1.063 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04736/1.4, allocations: 33.73 MB / 1.096 GB, free: 71.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/1.403, allocations: 2.723 MB / 1.098 GB, free: 69.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009355/1.404, allocations: 396.5 kB / 1.099 GB, free: 68.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000983/1.405, allocations: 1.21 MB / 1.1 GB, free: 67.54 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/1.405, allocations: 3.938 kB / 1.1 GB, free: 67.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/1.527, allocations: 83.92 MB / 1.182 GB, free: 180 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.88, allocations: 18.05 kB / 1.182 GB, free: 164 kB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)