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.005898/0.005898, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001415/0.001415, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 292.6 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 0.9082/0.9082, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 95.84 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3887, allocations: 86.98 MB / 0.7659 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03738/0.4261, allocations: 37.57 MB / 0.8026 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.4457, allocations: 13.04 MB / 0.8154 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003439/0.4492, allocations: 175.1 kB / 0.8155 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009306/0.4585, allocations: 3.884 MB / 0.8193 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0064/0.4649, allocations: 2.62 MB / 0.8219 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006238/0.4712, allocations: 2.712 MB / 0.8245 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.4822, allocations: 9.595 MB / 0.8339 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01272/0.495, allocations: 10.5 MB / 0.8441 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006254/0.5013, allocations: 4.078 MB / 0.8481 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006333/0.5077, allocations: 4.377 MB / 0.8524 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002027/0.5097, allocations: 0.7695 MB / 0.8531 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.514, allocations: 1.783 MB / 0.8549 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004153/0.5181, allocations: 3.033 MB / 0.8578 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006432/0.5246, allocations: 3.587 MB / 0.8614 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.5387, allocations: 11.88 MB / 0.873 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5387, allocations: 3.938 kB / 0.873 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5387, allocations: 0 / 0.873 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003439/0.5391, allocations: 0 / 0.873 GB, free: 5.93 MB / 0.6387 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.01489/0.554, allocations: 6.519 MB / 0.8793 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.554, allocations: 16.03 kB / 0.8793 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001079/0.5551, allocations: 0.7441 MB / 0.8801 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007935/0.5631, allocations: 1.332 MB / 0.8814 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008218/0.5713, allocations: 3.809 MB / 0.8851 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.5716, allocations: 386.5 kB / 0.8855 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/0.5732, allocations: 0.5002 MB / 0.8859 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/0.5914, allocations: 8.886 MB / 0.8946 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/0.5916, allocations: 27.77 kB / 0.8946 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00075/0.5923, allocations: 219.9 kB / 0.8949 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00226/0.5946, allocations: 0.6421 MB / 0.8955 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01399/0.6086, allocations: 7.003 MB / 0.9023 GB, free: 7.32 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0506/0.6592, allocations: 40.11 MB / 0.9415 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/0.6636, allocations: 2.904 MB / 0.9443 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003592/0.6672, allocations: 2.659 MB / 0.9469 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.6674, allocations: 30.09 kB / 0.947 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/0.6674, allocations: 72.53 kB / 0.947 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 4.258e-06/0.6674, allocations: 0 / 0.947 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.5915/1.259, allocations: 74.78 MB / 1.02 GB, free: 150.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/1.259, allocations: 94.73 kB / 1.02 GB, free: 150.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/1.261, allocations: 2.361 MB / 1.022 GB, free: 147.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006444/1.262, allocations: 93.7 kB / 1.023 GB, free: 147.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008647/1.263, allocations: 2.405 MB / 1.025 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.264, allocations: 1.514 MB / 1.026 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/1.265, allocations: 0.7217 MB / 1.027 GB, free: 143.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.397e-05/1.265, allocations: 301.1 kB / 1.027 GB, free: 143.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00332/1.269, allocations: 2.999 MB / 1.03 GB, free: 140.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003599/1.272, allocations: 3.847 MB / 1.034 GB, free: 136 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007576/1.28, allocations: 7.38 MB / 1.041 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/1.28, allocations: 8 kB / 1.041 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02385/1.304, allocations: 12.58 MB / 1.054 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/1.304, allocations: 20.06 kB / 1.054 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/1.304, allocations: 24 kB / 1.054 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0203/1.324, allocations: 6.02 MB / 1.059 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/1.326, allocations: 498.3 kB / 1.06 GB, free: 109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06517/1.391, allocations: 73.05 MB / 1.131 GB, free: 32.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/1.395, allocations: 215.8 kB / 1.131 GB, free: 32.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004469/1.396, allocations: 152 kB / 1.132 GB, free: 32.32 MB / 0.7325 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.002614/1.398, allocations: 1.998 MB / 1.134 GB, free: 30.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007801/1.399, allocations: 413.5 kB / 1.134 GB, free: 29.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02343/1.422, allocations: 12.22 MB / 1.146 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/1.422, allocations: 43.94 kB / 1.146 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000106/1.423, allocations: 55.98 kB / 1.146 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/1.423, allocations: 19.92 kB / 1.146 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03373/1.456, allocations: 19.14 MB / 1.165 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/1.456, allocations: 12.06 kB / 1.165 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.458, allocations: 287.5 kB / 1.165 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02058/1.479, allocations: 5.582 MB / 1.17 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007307/1.479, allocations: 83.98 kB / 1.171 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08344/1.563, allocations: 70.67 MB / 1.24 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.563, allocations: 7.938 kB / 1.24 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03315/1.596, allocations: 15.64 MB / 1.255 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003502/1.6, allocations: 1.057 MB / 1.256 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001502/1.601, allocations: 80 kB / 1.256 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/1.605, allocations: 219.7 kB / 1.256 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001666/1.606, allocations: 410.1 kB / 1.257 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005174/1.607, allocations: 108 kB / 1.257 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002993/1.61, allocations: 1.556 MB / 1.258 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.41e-07/1.61, allocations: 0 / 1.258 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00685/1.617, allocations: 1.859 MB / 1.26 GB, free: 8.949 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.03237/1.649, allocations: 16.32 MB / 1.276 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02216/1.671, allocations: 12.23 MB / 1.288 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.672, allocations: 4 kB / 1.288 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01542/1.687, allocations: 8.383 MB / 1.296 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006759/1.694, allocations: 1.193 MB / 1.297 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4972/2.191, allocations: 54.06 MB / 1.35 GB, free: 277 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004598/2.196, allocations: 4.086 MB / 1.354 GB, free: 273.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002072/2.198, allocations: 0.6645 MB / 1.355 GB, free: 273.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002314/2.2, allocations: 2.125 MB / 1.357 GB, free: 271.4 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/2.2, allocations: 0 / 1.357 GB, free: 271.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.208/2.408, allocations: 150.9 MB / 1.504 GB, free: 124 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.92/19.33, allocations: 28.98 kB / 1.504 GB, free: 123.9 MB / 0.8731 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)