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.007605/0.007605, allocations: 101 kB / 15.73 MB, free: 6.059 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.001992/0.001992, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 294 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9885/0.9885, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 103.8 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4464, allocations: 86.97 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007915/0.4544, allocations: 5.537 MB / 0.7713 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004666/0.4591, allocations: 2.634 MB / 0.7739 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.4595, allocations: 23.88 kB / 0.7739 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.4614, allocations: 0.6768 MB / 0.7746 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000945/0.4623, allocations: 413.7 kB / 0.775 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.4633, allocations: 409.8 kB / 0.7754 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.4645, allocations: 0.9591 MB / 0.7763 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006827/0.4652, allocations: 458.5 kB / 0.7767 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004996/0.4657, allocations: 390.5 kB / 0.7771 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005547/0.4663, allocations: 398.5 kB / 0.7775 GB, free: 7.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.461e-05/0.4663, allocations: 51.94 kB / 0.7775 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006528/0.467, allocations: 363.2 kB / 0.7779 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.4673, allocations: 247.4 kB / 0.7781 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003623/0.4676, allocations: 350.2 kB / 0.7784 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.4688, allocations: 0.9818 MB / 0.7794 GB, free: 5.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4689, allocations: 0 / 0.7794 GB, free: 5.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4689, allocations: 0 / 0.7794 GB, free: 5.977 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.4689, allocations: 4 kB / 0.7794 GB, free: 5.973 MB / 0.545 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.001741/0.4706, allocations: 0.9922 MB / 0.7804 GB, free: 4.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4707, allocations: 12.03 kB / 0.7804 GB, free: 4.918 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.4708, allocations: 102.6 kB / 0.7805 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.4722, allocations: 204.3 kB / 0.7807 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008551/0.4731, allocations: 0.5223 MB / 0.7812 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.4732, allocations: 41.36 kB / 0.7812 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.4733, allocations: 60.45 kB / 0.7813 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.4746, allocations: 0.834 MB / 0.7821 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.4746, allocations: 0 / 0.7821 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.4747, allocations: 27.98 kB / 0.7821 GB, free: 3.012 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.4749, allocations: 68.88 kB / 0.7822 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.4759, allocations: 0.5697 MB / 0.7828 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.4809, allocations: 4.585 MB / 0.7872 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.4814, allocations: 291.3 kB / 0.7875 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.4818, allocations: 229.2 kB / 0.7877 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.4818, allocations: 4.281 kB / 0.7877 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.4819, allocations: 38.84 kB / 0.7878 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.265e-06/0.4819, allocations: 0 / 0.7878 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005996/0.4879, allocations: 2.637 MB / 0.7903 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.488, allocations: 55.41 kB / 0.7904 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.4886, allocations: 462 kB / 0.7908 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.4886, allocations: 37.7 kB / 0.7909 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.489, allocations: 348.6 kB / 0.7912 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.4891, allocations: 150.7 kB / 0.7914 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.4893, allocations: 102.2 kB / 0.7914 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.4895, allocations: 362.8 kB / 0.7918 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.4899, allocations: 240.9 kB / 0.792 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.4904, allocations: 410.4 kB / 0.7924 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009408/0.4914, allocations: 0.674 MB / 0.7931 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.4914, allocations: 4 kB / 0.7931 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001764/0.4932, allocations: 0.9215 MB / 0.794 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.4932, allocations: 7.984 kB / 0.794 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4932, allocations: 8 kB / 0.794 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008459/0.4941, allocations: 222.8 kB / 0.7942 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.4946, allocations: 115.8 kB / 0.7943 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005813/0.5004, allocations: 5.34 MB / 0.7995 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.501, allocations: 31.97 kB / 0.7996 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.5011, allocations: 24.22 kB / 0.7996 GB, free: 15.99 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.0003194/0.5014, allocations: 225.6 kB / 0.7998 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.5015, allocations: 71.55 kB / 0.7999 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.5031, allocations: 0.7742 MB / 0.8006 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.5031, allocations: 7.984 kB / 0.8006 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5031, allocations: 0 / 0.8006 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5031, allocations: 0 / 0.8006 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.5058, allocations: 1.506 MB / 0.8021 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5058, allocations: 0 / 0.8021 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.5062, allocations: 79.81 kB / 0.8022 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006994/0.5069, allocations: 198.5 kB / 0.8024 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.5069, allocations: 12 kB / 0.8024 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005581/0.5125, allocations: 5.274 MB / 0.8075 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5125, allocations: 0 / 0.8075 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.5145, allocations: 1.14 MB / 0.8086 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.5148, allocations: 172.6 kB / 0.8088 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.5149, allocations: 11.98 kB / 0.8088 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.5153, allocations: 27.97 kB / 0.8088 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.5154, allocations: 31.95 kB / 0.8089 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.5154, allocations: 12 kB / 0.8089 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003884/0.5158, allocations: 314.9 kB / 0.8092 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5158, allocations: 8 kB / 0.8092 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008112/0.5166, allocations: 168 kB / 0.8094 GB, free: 5.379 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.002289/0.5189, allocations: 1.708 MB / 0.811 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.5208, allocations: 1.008 MB / 0.812 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5208, allocations: 4.125 kB / 0.812 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.5219, allocations: 0.6835 MB / 0.8127 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.5229, allocations: 193.9 kB / 0.8129 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008527/0.5315, allocations: 5.646 MB / 0.8184 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.5321, allocations: 0.9494 MB / 0.8193 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003603/0.5325, allocations: 117 kB / 0.8194 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.5328, allocations: 211.4 kB / 0.8196 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of SimCode: time 3.136e-06/0.5328, allocations: 0 / 0.8196 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06909/0.6019, allocations: 14.21 MB / 0.8335 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.51, allocations: 16.66 kB / 0.8335 GB, free: 12.52 MB / 0.6075 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)