Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_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.001116/0.001116, allocations: 104.9 kB / 16.27 MB, free: 5.93 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.001169/0.001169, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7333/0.7333, allocations: 122.8 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.89 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3403, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03523/0.3756, allocations: 37.58 MB / 0.604 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02207/0.3977, allocations: 13.03 MB / 0.6167 GB, free: 8.027 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00524/0.403, allocations: 168 kB / 0.6169 GB, free: 7.863 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.4133, allocations: 3.885 MB / 0.6207 GB, free: 3.984 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00838/0.4217, allocations: 2.488 MB / 0.6231 GB, free: 1.504 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007267/0.429, allocations: 2.706 MB / 0.6258 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01376/0.4428, allocations: 9.575 MB / 0.6351 GB, free: 5.211 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01611/0.4589, allocations: 10.64 MB / 0.6455 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007326/0.4663, allocations: 3.98 MB / 0.6494 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007835/0.4741, allocations: 4.365 MB / 0.6536 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004399/0.4786, allocations: 0.7695 MB / 0.6544 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007865/0.4865, allocations: 1.779 MB / 0.6561 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.005619/0.4921, allocations: 3.037 MB / 0.6591 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.009398/0.5015, allocations: 3.579 MB / 0.6626 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01778/0.5193, allocations: 11.79 MB / 0.6741 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5194, allocations: 0 / 0.6741 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5194, allocations: 0 / 0.6741 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004417/0.5198, allocations: 0 / 0.6741 GB, free: 13.05 MB / 0.5137 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.01991/0.5398, allocations: 6.347 MB / 0.6803 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.5398, allocations: 8.625 kB / 0.6803 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002938/0.5428, allocations: 0.7558 MB / 0.6811 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.5529, allocations: 1.293 MB / 0.6823 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009516/0.5625, allocations: 3.576 MB / 0.6858 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000433/0.5629, allocations: 378.5 kB / 0.6862 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/0.5656, allocations: 0.4924 MB / 0.6867 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02445/0.59, allocations: 8.89 MB / 0.6953 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003334/0.5904, allocations: 35.7 kB / 0.6954 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00211/0.5925, allocations: 219.9 kB / 0.6956 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002512/0.5951, allocations: 0.6265 MB / 0.6962 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/0.6133, allocations: 7.014 MB / 0.703 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05765/0.671, allocations: 40.33 MB / 0.7424 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004893/0.676, allocations: 2.905 MB / 0.7453 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3365/1.013, allocations: 2.659 MB / 0.7479 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/1.013, allocations: 27.06 kB / 0.7479 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/1.013, allocations: 72.92 kB / 0.7479 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 5.32e-06/1.013, allocations: 0 / 0.7479 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.2972/1.31, allocations: 74.73 MB / 0.8209 GB, free: 98.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/1.31, allocations: 98.67 kB / 0.821 GB, free: 98.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/1.313, allocations: 2.355 MB / 0.8233 GB, free: 95.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008813/1.314, allocations: 97.7 kB / 0.8234 GB, free: 95.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/1.315, allocations: 2.336 MB / 0.8257 GB, free: 93.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/1.316, allocations: 1.437 MB / 0.8271 GB, free: 91.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/1.318, allocations: 0.7176 MB / 0.8278 GB, free: 91.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/1.318, allocations: 305.1 kB / 0.8281 GB, free: 90.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003546/1.321, allocations: 2.995 MB / 0.831 GB, free: 87.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003751/1.325, allocations: 3.843 MB / 0.8348 GB, free: 83.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007587/1.333, allocations: 7.387 MB / 0.842 GB, free: 75.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/1.333, allocations: 11.94 kB / 0.842 GB, free: 75.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02469/1.357, allocations: 12.56 MB / 0.8543 GB, free: 63.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/1.357, allocations: 16 kB / 0.8543 GB, free: 63.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/1.357, allocations: 24 kB / 0.8543 GB, free: 63.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02055/1.378, allocations: 6.075 MB / 0.8602 GB, free: 57.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/1.38, allocations: 495.2 kB / 0.8607 GB, free: 56.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07047/1.451, allocations: 73.04 MB / 0.932 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/1.455, allocations: 215.8 kB / 0.9322 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006497/1.456, allocations: 156 kB / 0.9324 GB, free: 11.86 MB / 0.6075 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.00363/1.46, allocations: 1.992 MB / 0.9343 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.461, allocations: 395.3 kB / 0.9347 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02663/1.487, allocations: 12.23 MB / 0.9466 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/1.487, allocations: 40 kB / 0.9467 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001254/1.487, allocations: 52 kB / 0.9467 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.921e-05/1.488, allocations: 19.92 kB / 0.9467 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03813/1.526, allocations: 19.14 MB / 0.9654 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.985e-05/1.526, allocations: 4 kB / 0.9654 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/1.527, allocations: 283.6 kB / 0.9657 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02088/1.548, allocations: 5.627 MB / 0.9712 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007413/1.549, allocations: 76 kB / 0.9713 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3731/1.922, allocations: 70.67 MB / 1.04 GB, free: 173.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/1.922, allocations: 12.62 kB / 1.04 GB, free: 173.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02665/1.949, allocations: 15.62 MB / 1.056 GB, free: 166.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002381/1.951, allocations: 1.044 MB / 1.057 GB, free: 166.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006386/1.952, allocations: 78.56 kB / 1.057 GB, free: 166.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002449/1.954, allocations: 218.6 kB / 1.057 GB, free: 166.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001408/1.956, allocations: 399.1 kB / 1.057 GB, free: 166.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002455/1.956, allocations: 112.7 kB / 1.057 GB, free: 166.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00213/1.958, allocations: 1.56 MB / 1.059 GB, free: 165.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.2e-07/1.958, allocations: 0 / 1.059 GB, free: 165.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007453/1.966, allocations: 1.858 MB / 1.061 GB, free: 165.4 MB / 0.6544 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.02648/1.992, allocations: 16.29 MB / 1.077 GB, free: 153.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02228/2.014, allocations: 14.98 MB / 1.091 GB, free: 138.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.014, allocations: 0 / 1.091 GB, free: 138.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01207/2.027, allocations: 8.356 MB / 1.099 GB, free: 130.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004996/2.032, allocations: 1.188 MB / 1.101 GB, free: 129 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08517/2.117, allocations: 60.31 MB / 1.159 GB, free: 64.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003752/2.121, allocations: 4.086 MB / 1.163 GB, free: 60.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002192/2.123, allocations: 0.6708 MB / 1.164 GB, free: 59.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/2.125, allocations: 2.128 MB / 1.166 GB, free: 57.68 MB / 0.6544 GB Notification: Performance of SimCode: time 8.41e-07/2.125, allocations: 0 / 1.166 GB, free: 57.68 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5188/2.643, allocations: 151.5 MB / 1.314 GB, free: 169.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/14.9, allocations: 4 kB / 1.314 GB, free: 169.4 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)