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.001136/0.001136, allocations: 102.8 kB / 16.27 MB, free: 6.41 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.0009135/0.0009134, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.169/1.169, 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.7026/0.7026, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 71.89 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3133, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03047/0.3438, allocations: 37.59 MB / 0.604 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01851/0.3623, allocations: 13.03 MB / 0.6167 GB, free: 8.043 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004228/0.3666, allocations: 171.1 kB / 0.6169 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009373/0.376, allocations: 3.878 MB / 0.6207 GB, free: 4 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006398/0.3825, allocations: 2.485 MB / 0.6231 GB, free: 1.523 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005786/0.3883, allocations: 2.712 MB / 0.6258 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009913/0.3982, allocations: 9.579 MB / 0.6351 GB, free: 5.215 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01146/0.4097, allocations: 10.64 MB / 0.6455 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006465/0.4162, allocations: 3.976 MB / 0.6494 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006233/0.4224, allocations: 4.373 MB / 0.6536 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001908/0.4244, allocations: 0.7773 MB / 0.6544 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004373/0.4287, allocations: 1.775 MB / 0.6561 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003691/0.4324, allocations: 3.037 MB / 0.6591 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.005049/0.4375, allocations: 3.579 MB / 0.6626 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.4494, allocations: 11.79 MB / 0.6741 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.4495, allocations: 0 / 0.6741 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4495, allocations: 0 / 0.6741 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003322/0.4498, allocations: 0 / 0.6741 GB, free: 13.06 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.01542/0.4653, allocations: 6.347 MB / 0.6803 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4653, allocations: 12.62 kB / 0.6803 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00124/0.4666, allocations: 0.7558 MB / 0.6811 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007711/0.4743, allocations: 1.293 MB / 0.6823 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006/0.4803, allocations: 3.568 MB / 0.6858 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.4806, allocations: 386.4 kB / 0.6862 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009215/0.4815, allocations: 0.4963 MB / 0.6867 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.4955, allocations: 8.882 MB / 0.6953 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/0.4957, allocations: 31.77 kB / 0.6954 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005978/0.4963, allocations: 219.9 kB / 0.6956 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002268/0.4985, allocations: 0.6304 MB / 0.6962 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.511, allocations: 7.014 MB / 0.703 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04875/0.5598, allocations: 40.33 MB / 0.7424 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00397/0.5638, allocations: 2.896 MB / 0.7453 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2303/0.7941, allocations: 2.664 MB / 0.7479 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.7944, allocations: 26.81 kB / 0.7479 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.7945, allocations: 68.86 kB / 0.7479 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 4.999e-06/0.7945, allocations: 1.406 kB / 0.7479 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.2629/1.057, allocations: 74.72 MB / 0.8209 GB, free: 98.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/1.058, allocations: 94.73 kB / 0.821 GB, free: 98.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/1.061, allocations: 2.355 MB / 0.8233 GB, free: 95.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000883/1.062, allocations: 97.69 kB / 0.8234 GB, free: 95.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/1.063, allocations: 2.34 MB / 0.8257 GB, free: 93.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.064, allocations: 1.434 MB / 0.8271 GB, free: 91.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/1.065, allocations: 0.7215 MB / 0.8278 GB, free: 91.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.197e-05/1.065, allocations: 309.1 kB / 0.8281 GB, free: 90.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003415/1.068, allocations: 2.999 MB / 0.831 GB, free: 87.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003548/1.072, allocations: 3.847 MB / 0.8348 GB, free: 83.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0072/1.079, allocations: 7.379 MB / 0.842 GB, free: 75.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/1.079, allocations: 8 kB / 0.842 GB, free: 75.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02315/1.102, allocations: 12.56 MB / 0.8543 GB, free: 63.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/1.102, allocations: 23.64 kB / 0.8543 GB, free: 63.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/1.102, allocations: 20 kB / 0.8543 GB, free: 63.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01979/1.122, allocations: 6.068 MB / 0.8602 GB, free: 57.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/1.124, allocations: 0.4921 MB / 0.8607 GB, free: 56.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06651/1.191, allocations: 73.02 MB / 0.932 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/1.194, allocations: 223.8 kB / 0.9322 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000357/1.195, 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.00301/1.198, allocations: 1.988 MB / 0.9343 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007358/1.198, allocations: 395.3 kB / 0.9347 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02601/1.224, allocations: 12.23 MB / 0.9466 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-05/1.225, allocations: 44 kB / 0.9467 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001041/1.225, allocations: 48 kB / 0.9467 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.525e-05/1.225, allocations: 19.92 kB / 0.9467 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03612/1.261, allocations: 19.13 MB / 0.9654 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.93e-05/1.261, allocations: 8.094 kB / 0.9654 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.262, allocations: 299.6 kB / 0.9657 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01987/1.282, allocations: 5.617 MB / 0.9712 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005981/1.283, allocations: 80 kB / 0.9713 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3217/1.605, allocations: 70.67 MB / 1.04 GB, free: 173.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.605, allocations: 11.53 kB / 1.04 GB, free: 173.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0267/1.631, allocations: 15.62 MB / 1.056 GB, free: 166.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/1.634, allocations: 1.049 MB / 1.057 GB, free: 166.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009285/1.635, allocations: 86.34 kB / 1.057 GB, free: 166.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/1.637, allocations: 215.2 kB / 1.057 GB, free: 166.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001389/1.639, allocations: 401.1 kB / 1.057 GB, free: 166.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/1.639, allocations: 113.2 kB / 1.057 GB, free: 166.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001735/1.641, allocations: 1.555 MB / 1.059 GB, free: 165.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/1.641, allocations: 3.828 kB / 1.059 GB, free: 165.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004682/1.645, allocations: 1.861 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.02403/1.669, allocations: 16.29 MB / 1.077 GB, free: 153.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02191/1.691, allocations: 14.98 MB / 1.091 GB, free: 138.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.691, allocations: 4 kB / 1.091 GB, free: 138.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01201/1.703, allocations: 8.348 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.005102/1.708, allocations: 1.184 MB / 1.101 GB, free: 129 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08727/1.796, allocations: 60.31 MB / 1.159 GB, free: 64.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005282/1.801, allocations: 4.09 MB / 1.163 GB, free: 60.47 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0025/1.804, allocations: 0.6669 MB / 1.164 GB, free: 59.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/1.806, allocations: 2.128 MB / 1.166 GB, free: 57.67 MB / 0.6544 GB Notification: Performance of SimCode: time 1.012e-06/1.806, allocations: 0 / 1.166 GB, free: 57.67 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.747/5.553, allocations: 151.5 MB / 1.314 GB, free: 169.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/20.18, allocations: 1.25 kB / 1.314 GB, free: 169.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)