Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.006026/0.006026, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.001368/0.001368, allocations: 196 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 278.7 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9387/0.9387, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 95.86 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.162, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006944/0.169, allocations: 5.53 MB / 0.7713 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004099/0.1731, allocations: 2.646 MB / 0.7739 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004262/0.1735, allocations: 27.81 kB / 0.7739 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.1753, allocations: 0.6719 MB / 0.7746 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.3375/0.5129, allocations: 428.4 kB / 0.775 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.5142, allocations: 407.7 kB / 0.7754 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001583/0.5158, allocations: 0.9589 MB / 0.7763 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008196/0.5166, allocations: 461.1 kB / 0.7767 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008128/0.5174, allocations: 379.5 kB / 0.7771 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008554/0.5183, allocations: 408.4 kB / 0.7775 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.5185, allocations: 48.59 kB / 0.7775 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009131/0.5194, allocations: 361.1 kB / 0.7779 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003859/0.5198, allocations: 245 kB / 0.7781 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006799/0.5205, allocations: 352.1 kB / 0.7785 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.5221, allocations: 0.9792 MB / 0.7794 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5222, allocations: 0 / 0.7794 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5222, allocations: 4.812 kB / 0.7794 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.176e-05/0.5222, allocations: 0 / 0.7794 GB, free: 7.969 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002003/0.5242, allocations: 0.9763 MB / 0.7804 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.5243, allocations: 10.19 kB / 0.7804 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.5244, allocations: 98.98 kB / 0.7805 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.5258, allocations: 192.2 kB / 0.7807 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009045/0.5268, allocations: 0.5221 MB / 0.7812 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.5268, allocations: 43.22 kB / 0.7812 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.527, allocations: 55.36 kB / 0.7813 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.5283, allocations: 0.8275 MB / 0.7821 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.5284, allocations: 9.188 kB / 0.7821 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.5284, allocations: 24.91 kB / 0.7821 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002229/0.5287, allocations: 66.23 kB / 0.7822 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009904/0.5297, allocations: 0.5669 MB / 0.7827 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004286/0.5339, allocations: 4.572 MB / 0.7872 GB, free: 18.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.5344, allocations: 298.8 kB / 0.7875 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.5347, allocations: 227.8 kB / 0.7877 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.5347, allocations: 4.156 kB / 0.7877 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.5347, allocations: 31.59 kB / 0.7877 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.063e-06/0.5348, allocations: 0 / 0.7877 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005193/0.54, allocations: 2.64 MB / 0.7903 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.54, allocations: 54.25 kB / 0.7904 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.5405, allocations: 464.6 kB / 0.7908 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.5406, allocations: 40.05 kB / 0.7908 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.5407, allocations: 339.1 kB / 0.7912 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.975e-05/0.5408, allocations: 143.8 kB / 0.7913 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.541, allocations: 106.3 kB / 0.7914 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5412, allocations: 364.9 kB / 0.7917 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.5415, allocations: 238 kB / 0.792 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.5419, allocations: 412.4 kB / 0.7924 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/0.5427, allocations: 0.6773 MB / 0.793 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5427, allocations: 2.906 kB / 0.793 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001558/0.5443, allocations: 0.9185 MB / 0.7939 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5443, allocations: 9.875 kB / 0.7939 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5443, allocations: 4.391 kB / 0.7939 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007689/0.5451, allocations: 226.9 kB / 0.7942 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.5456, allocations: 116.6 kB / 0.7943 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004842/0.5504, allocations: 5.341 MB / 0.7995 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.551, allocations: 32.58 kB / 0.7995 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.551, allocations: 24.8 kB / 0.7995 GB, free: 10.28 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003367/0.5514, allocations: 220.5 kB / 0.7997 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.5515, allocations: 61.64 kB / 0.7998 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.553, allocations: 0.7708 MB / 0.8006 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.553, allocations: 4.5 kB / 0.8006 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.553, allocations: 1.438 kB / 0.8006 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.553, allocations: 3.047 kB / 0.8006 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.5556, allocations: 1.503 MB / 0.802 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.5556, allocations: 1.969 kB / 0.802 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.556, allocations: 67.69 kB / 0.8021 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007352/0.5567, allocations: 206.4 kB / 0.8023 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.5568, allocations: 8.906 kB / 0.8023 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005229/0.562, allocations: 5.275 MB / 0.8075 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.562, allocations: 2.312 kB / 0.8075 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.5639, allocations: 1.134 MB / 0.8086 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.5642, allocations: 168.9 kB / 0.8087 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.5643, allocations: 13.02 kB / 0.8087 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.5646, allocations: 29.67 kB / 0.8088 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5647, allocations: 34.2 kB / 0.8088 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.5648, allocations: 14.02 kB / 0.8088 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003924/0.5652, allocations: 310.6 kB / 0.8091 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5652, allocations: 1.469 kB / 0.8091 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007408/0.5659, allocations: 173.9 kB / 0.8093 GB, free: 3.348 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002056/0.568, allocations: 1.7 MB / 0.8109 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.5696, allocations: 1.018 MB / 0.8119 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.5697, allocations: 5.719 kB / 0.8119 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009649/0.5706, allocations: 0.6742 MB / 0.8126 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009696/0.5716, allocations: 178.8 kB / 0.8128 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008603/0.5802, allocations: 5.644 MB / 0.8183 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.5808, allocations: 0.9452 MB / 0.8192 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004199/0.5813, allocations: 121 kB / 0.8193 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.5816, allocations: 214.3 kB / 0.8195 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/0.5816, allocations: 0 / 0.8195 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.6237, allocations: 14.22 MB / 0.8334 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.2, allocations: 13.61 kB / 0.8334 GB, free: 7.211 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)