Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 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.ACLine_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.007034/0.007034, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001779/0.001779, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 280 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.198/1.198, allocations: 178.5 MB / 0.5074 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 107.8 kB / 0.6943 GB, free: 15.29 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4321, allocations: 89.12 MB / 0.7814 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.07253/0.5048, allocations: 37.58 MB / 0.8181 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02329/0.5281, allocations: 13.03 MB / 0.8308 GB, free: 6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004631/0.5328, allocations: 175.1 kB / 0.831 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.5431, allocations: 3.885 MB / 0.8347 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007647/0.5508, allocations: 2.487 MB / 0.8372 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007409/0.5582, allocations: 2.713 MB / 0.8398 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01352/0.5717, allocations: 9.571 MB / 0.8492 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01829/0.5901, allocations: 10.49 MB / 0.8594 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008584/0.5987, allocations: 3.996 MB / 0.8633 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00804/0.6068, allocations: 4.377 MB / 0.8676 GB, free: 104 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002798/0.6096, allocations: 0.7696 MB / 0.8683 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005474/0.6151, allocations: 1.783 MB / 0.8701 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005565/0.6207, allocations: 3.037 MB / 0.873 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008208/0.6289, allocations: 3.587 MB / 0.8766 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01818/0.6471, allocations: 11.88 MB / 0.8882 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.6472, allocations: 0 / 0.8882 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6472, allocations: 4 kB / 0.8882 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003645/0.6476, allocations: 0 / 0.8882 GB, free: 10.98 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01868/0.6663, allocations: 6.522 MB / 0.8945 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.6663, allocations: 8.031 kB / 0.8945 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002481/0.6688, allocations: 0.7518 MB / 0.8953 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008916/0.6777, allocations: 1.328 MB / 0.8966 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008974/0.6867, allocations: 3.817 MB / 0.9003 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004668/0.6872, allocations: 378.5 kB / 0.9007 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.6892, allocations: 0.5002 MB / 0.9011 GB, free: 13.51 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.711, allocations: 8.894 MB / 0.9098 GB, free: 4.258 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002947/0.7113, allocations: 23.83 kB / 0.9099 GB, free: 4.234 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00203/0.7134, allocations: 220 kB / 0.9101 GB, free: 4.02 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/0.716, allocations: 0.6342 MB / 0.9107 GB, free: 3.383 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.7334, allocations: 7.014 MB / 0.9175 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06178/0.7953, allocations: 40.1 MB / 0.9567 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005246/0.8006, allocations: 2.905 MB / 0.9595 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004781/0.8054, allocations: 2.659 MB / 0.9621 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/0.8057, allocations: 30.08 kB / 0.9622 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.02e-05/0.8058, allocations: 72.59 kB / 0.9622 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=265): time 5.14e-06/0.8058, allocations: 0 / 0.9622 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424): time 0.6473/1.453, allocations: 74.78 MB / 1.035 GB, free: 160.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/1.453, allocations: 98.73 kB / 1.035 GB, free: 160.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/1.456, allocations: 2.364 MB / 1.038 GB, free: 158.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0006829/1.457, allocations: 93.7 kB / 1.038 GB, free: 158.2 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.458, allocations: 2.394 MB / 1.04 GB, free: 156.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.459, allocations: 1.518 MB / 1.042 GB, free: 154.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/1.46, allocations: 0.7217 MB / 1.042 GB, free: 153.9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 5.363e-05/1.46, allocations: 301.1 kB / 1.043 GB, free: 153.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/1.464, allocations: 2.999 MB / 1.045 GB, free: 150.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003781/1.467, allocations: 3.847 MB / 1.049 GB, free: 146.4 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007971/1.475, allocations: 7.387 MB / 1.056 GB, free: 138.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/1.475, allocations: 4 kB / 1.056 GB, free: 138.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02626/1.502, allocations: 12.58 MB / 1.069 GB, free: 126 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/1.502, allocations: 14.97 kB / 1.069 GB, free: 126 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/1.502, allocations: 24.09 kB / 1.069 GB, free: 126 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02208/1.524, allocations: 6.021 MB / 1.075 GB, free: 119.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/1.526, allocations: 499.1 kB / 1.075 GB, free: 119.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07226/1.598, allocations: 73.05 MB / 1.146 GB, free: 43.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004295/1.603, allocations: 215.9 kB / 1.147 GB, free: 42.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005212/1.603, allocations: 148 kB / 1.147 GB, free: 42.73 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003192/1.607, allocations: 2 MB / 1.149 GB, free: 40.72 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009273/1.607, allocations: 413.5 kB / 1.149 GB, free: 40.31 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02516/1.633, allocations: 12.22 MB / 1.161 GB, free: 27.97 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/1.633, allocations: 45.62 kB / 1.161 GB, free: 27.93 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001393/1.633, allocations: 48 kB / 1.161 GB, free: 27.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.761e-05/1.633, allocations: 23.92 kB / 1.161 GB, free: 27.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03412/1.667, allocations: 19.14 MB / 1.18 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.338e-05/1.667, allocations: 8 kB / 1.18 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.669, allocations: 291.7 kB / 1.18 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01943/1.688, allocations: 5.576 MB / 1.186 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00076/1.689, allocations: 80 kB / 1.186 GB, free: 2.508 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09398/1.783, allocations: 70.67 MB / 1.255 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1.783, allocations: 12.06 kB / 1.255 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.034/1.817, allocations: 15.64 MB / 1.27 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002488/1.819, allocations: 1.061 MB / 1.271 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006319/1.82, allocations: 83.98 kB / 1.271 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/1.823, allocations: 219.7 kB / 1.271 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/1.824, allocations: 406.3 kB / 1.272 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003082/1.824, allocations: 111.9 kB / 1.272 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002396/1.827, allocations: 1.553 MB / 1.273 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/1.827, allocations: 0 / 1.273 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005881/1.833, allocations: 1.863 MB / 1.275 GB, free: 3.352 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03444/1.867, allocations: 16.31 MB / 1.291 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02334/1.89, allocations: 12.23 MB / 1.303 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.89, allocations: 4 kB / 1.303 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01674/1.907, allocations: 8.391 MB / 1.311 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005639/1.913, allocations: 1.191 MB / 1.312 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4666/2.38, allocations: 54.06 MB / 1.365 GB, free: 277.9 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/2.383, allocations: 4.087 MB / 1.369 GB, free: 276.5 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001938/2.385, allocations: 0.6676 MB / 1.37 GB, free: 276.5 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/2.387, allocations: 2.132 MB / 1.372 GB, free: 274.7 MB / 0.8887 GB Notification: Performance of SimCode: time 1.453e-06/2.387, allocations: 0 / 1.372 GB, free: 274.7 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2648/2.652, allocations: 150.9 MB / 1.519 GB, free: 136.9 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/21.57, allocations: 2.969 kB / 1.519 GB, free: 136.9 MB / 0.8887 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_ACLine_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)