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.001613/0.001613, allocations: 105.5 kB / 16.4 MB, free: 6.438 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.001817/0.001817, allocations: 193.2 kB / 17.34 MB, free: 5.715 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 / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7697/0.7697, allocations: 115.3 MB / 406.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 66.62 kB / 0.5572 GB, free: 32.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1526, allocations: 76.18 MB / 0.6316 GB, free: 4.984 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.0421/0.1947, allocations: 37.56 MB / 0.6683 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02062/0.2154, allocations: 13.05 MB / 0.681 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003834/0.2193, allocations: 171.1 kB / 0.6812 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009989/0.2293, allocations: 3.882 MB / 0.685 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007634/0.237, allocations: 2.487 MB / 0.6874 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008475/0.2455, allocations: 2.725 MB / 0.6901 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01321/0.2587, allocations: 9.575 MB / 0.6994 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01207/0.2709, allocations: 10.5 MB / 0.7097 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00622/0.2771, allocations: 4.07 MB / 0.7136 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006918/0.2841, allocations: 4.381 MB / 0.7179 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002374/0.2865, allocations: 0.7695 MB / 0.7187 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004865/0.2913, allocations: 1.775 MB / 0.7204 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004753/0.2961, allocations: 3.037 MB / 0.7234 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007402/0.3036, allocations: 3.579 MB / 0.7269 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01714/0.3207, allocations: 11.86 MB / 0.7385 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3208, allocations: 3.938 kB / 0.7385 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3208, allocations: 4 kB / 0.7385 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004282/0.3212, allocations: 0 / 0.7385 GB, free: 7.137 MB / 0.5762 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.0177/0.3389, allocations: 6.347 MB / 0.7447 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.339, allocations: 8.031 kB / 0.7447 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2887/0.6277, allocations: 0.75 MB / 0.7454 GB, free: 98.51 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009971/0.6377, allocations: 1.295 MB / 0.7467 GB, free: 98.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.6478, allocations: 3.79 MB / 0.7504 GB, free: 97.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/0.6482, allocations: 376.8 kB / 0.7507 GB, free: 97.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/0.6501, allocations: 0.5016 MB / 0.7512 GB, free: 96.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.022/0.6722, allocations: 8.888 MB / 0.7599 GB, free: 93.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002911/0.6725, allocations: 33.81 kB / 0.7599 GB, free: 93.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002099/0.6746, allocations: 220.9 kB / 0.7601 GB, free: 92.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002538/0.6772, allocations: 0.6353 MB / 0.7608 GB, free: 92.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.6917, allocations: 7.017 MB / 0.7676 GB, free: 89.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04358/0.7353, allocations: 40.06 MB / 0.8067 GB, free: 50.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003794/0.7391, allocations: 2.896 MB / 0.8096 GB, free: 47.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00336/0.7425, allocations: 2.666 MB / 0.8122 GB, free: 44.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/0.7429, allocations: 30.09 kB / 0.8122 GB, free: 44.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.7429, allocations: 60.66 kB / 0.8122 GB, free: 44.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 4.599e-06/0.7429, allocations: 4 kB / 0.8122 GB, free: 44.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.2921/1.035, allocations: 74.69 MB / 0.8852 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/1.035, allocations: 94.73 kB / 0.8853 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004247/1.039, allocations: 2.355 MB / 0.8876 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000836/1.04, allocations: 93.7 kB / 0.8877 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001778/1.042, allocations: 2.34 MB / 0.89 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001903/1.044, allocations: 1.438 MB / 0.8914 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00229/1.046, allocations: 0.7254 MB / 0.8921 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.046, allocations: 309.1 kB / 0.8924 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004372/1.051, allocations: 2.995 MB / 0.8953 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004937/1.056, allocations: 3.847 MB / 0.899 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009805/1.066, allocations: 7.38 MB / 0.9062 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/1.066, allocations: 8 kB / 0.9063 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02822/1.094, allocations: 12.56 MB / 0.9185 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/1.094, allocations: 16 kB / 0.9185 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/1.094, allocations: 20 kB / 0.9186 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02262/1.117, allocations: 6.029 MB / 0.9244 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/1.119, allocations: 499.2 kB / 0.9249 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08892/1.208, allocations: 72.98 MB / 0.9962 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/1.212, allocations: 215.8 kB / 0.9964 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008574/1.213, allocations: 152 kB / 0.9965 GB, free: 11.11 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.004042/1.217, allocations: 1.996 MB / 0.9985 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.218, allocations: 395.4 kB / 0.9989 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02897/1.247, allocations: 12.23 MB / 1.011 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/1.247, allocations: 40 kB / 1.011 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000167/1.248, allocations: 51.94 kB / 1.011 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.792e-05/1.248, allocations: 23.86 kB / 1.011 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3611/1.609, allocations: 19.13 MB / 1.03 GB, free: 242.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-05/1.609, allocations: 6.406 kB / 1.03 GB, free: 242.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.611, allocations: 292 kB / 1.03 GB, free: 242.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02227/1.633, allocations: 5.583 MB / 1.035 GB, free: 242.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009686/1.634, allocations: 79.97 kB / 1.035 GB, free: 242.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06594/1.7, allocations: 70.61 MB / 1.104 GB, free: 194.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/1.7, allocations: 11.81 kB / 1.104 GB, free: 194.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03156/1.732, allocations: 15.62 MB / 1.12 GB, free: 180.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003133/1.735, allocations: 1.042 MB / 1.121 GB, free: 179.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001428/1.736, allocations: 79.98 kB / 1.121 GB, free: 179 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003507/1.74, allocations: 215.7 kB / 1.121 GB, free: 178.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001781/1.742, allocations: 406.2 kB / 1.121 GB, free: 178.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004977/1.742, allocations: 112 kB / 1.121 GB, free: 178.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002166/1.744, allocations: 1.556 MB / 1.123 GB, free: 176.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.744, allocations: 0 / 1.123 GB, free: 176.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006315/1.751, allocations: 1.863 MB / 1.125 GB, free: 174.8 MB / 0.7481 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.02809/1.779, allocations: 16.29 MB / 1.141 GB, free: 158.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01942/1.798, allocations: 12.2 MB / 1.153 GB, free: 145.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.798, allocations: 4 kB / 1.153 GB, free: 145.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01325/1.812, allocations: 8.364 MB / 1.161 GB, free: 137.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006677/1.818, allocations: 1.19 MB / 1.162 GB, free: 136 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1021/1.92, allocations: 53.88 MB / 1.215 GB, free: 80.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006649/1.927, allocations: 4.088 MB / 1.219 GB, free: 76.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002626/1.93, allocations: 0.663 MB / 1.219 GB, free: 75.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/1.932, allocations: 2.133 MB / 1.221 GB, free: 73.79 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/1.932, allocations: 0 / 1.221 GB, free: 73.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5554/2.488, allocations: 153.7 MB / 1.371 GB, free: 217.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.08/20.57, allocations: 18.16 kB / 1.371 GB, free: 217.8 MB / 0.7637 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)