Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004232/0.004232, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001043/0.001043, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002116, allocations: 279.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9153/0.9153, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 99.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1682, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00768/0.1759, allocations: 6.724 MB / 0.773 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3177/0.4936, allocations: 3.023 MB / 0.7759 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.4941, allocations: 27.66 kB / 0.7759 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.4964, allocations: 0.9439 MB / 0.7769 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.4975, allocations: 0.5182 MB / 0.7774 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009633/0.4984, allocations: 429.2 kB / 0.7778 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.4997, allocations: 1.23 MB / 0.779 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008181/0.5005, allocations: 0.6678 MB / 0.7796 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.5011, allocations: 474.8 kB / 0.7801 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.5016, allocations: 0.5179 MB / 0.7806 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.5017, allocations: 66.5 kB / 0.7806 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000685/0.5024, allocations: 380 kB / 0.781 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.5027, allocations: 304.5 kB / 0.7813 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.5031, allocations: 455 kB / 0.7817 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.5042, allocations: 1.208 MB / 0.7829 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5042, allocations: 10.66 kB / 0.7829 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5042, allocations: 0.7031 kB / 0.7829 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.5042, allocations: 0.9375 kB / 0.7829 GB, free: 7.578 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001766/0.506, allocations: 1.158 MB / 0.7841 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.506, allocations: 8.812 kB / 0.7841 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.5077, allocations: 242 kB / 0.7843 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.5085, allocations: 0.5854 MB / 0.7849 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.5086, allocations: 50.3 kB / 0.7849 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.5087, allocations: 61.98 kB / 0.785 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.51, allocations: 1.082 MB / 0.786 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.51, allocations: 16.41 kB / 0.786 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.5101, allocations: 33.34 kB / 0.7861 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.5103, allocations: 83.17 kB / 0.7862 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.5113, allocations: 0.75 MB / 0.7869 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004371/0.5157, allocations: 5.875 MB / 0.7926 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009389/0.5166, allocations: 0.5606 MB / 0.7932 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.517, allocations: 324 kB / 0.7935 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.5171, allocations: 6.578 kB / 0.7935 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5171, allocations: 37 kB / 0.7935 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.485e-06/0.5171, allocations: 1.188 kB / 0.7935 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.003624/0.5208, allocations: 1.987 MB / 0.7955 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.5208, allocations: 61.69 kB / 0.7955 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.5214, allocations: 0.5497 MB / 0.7961 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.5214, allocations: 37.52 kB / 0.7961 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.5216, allocations: 414.8 kB / 0.7965 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.5218, allocations: 173.1 kB / 0.7967 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.522, allocations: 124.3 kB / 0.7968 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5221, allocations: 377.6 kB / 0.7971 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.5225, allocations: 279.5 kB / 0.7974 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.5231, allocations: 499.3 kB / 0.7979 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/0.5241, allocations: 0.7998 MB / 0.7987 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.5241, allocations: 4.938 kB / 0.7987 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001869/0.5259, allocations: 1.086 MB / 0.7997 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.526, allocations: 9.75 kB / 0.7997 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.526, allocations: 6.938 kB / 0.7997 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008651/0.5269, allocations: 290.8 kB / 0.8 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.5274, allocations: 125.5 kB / 0.8001 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006843/0.5342, allocations: 7.126 MB / 0.8071 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/0.5349, allocations: 47.58 kB / 0.8071 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.535, allocations: 28.34 kB / 0.8072 GB, free: 5.984 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0003859/0.5354, allocations: 247.7 kB / 0.8074 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.5355, allocations: 80.59 kB / 0.8075 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.5371, allocations: 0.8873 MB / 0.8083 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5371, allocations: 8.219 kB / 0.8084 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.5372, allocations: 5.906 kB / 0.8084 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.5372, allocations: 2.344 kB / 0.8084 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.5398, allocations: 1.723 MB / 0.81 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5398, allocations: 1.469 kB / 0.81 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.5401, allocations: 60.47 kB / 0.8101 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000756/0.5409, allocations: 277.3 kB / 0.8104 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.5409, allocations: 7.75 kB / 0.8104 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007034/0.548, allocations: 7.123 MB / 0.8173 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.548, allocations: 6.781 kB / 0.8173 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.5496, allocations: 0.9777 MB / 0.8183 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.5499, allocations: 187 kB / 0.8185 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.701e-05/0.55, allocations: 13.09 kB / 0.8185 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.5504, allocations: 34.42 kB / 0.8185 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.5506, allocations: 44.67 kB / 0.8186 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.5506, allocations: 15.28 kB / 0.8186 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005016/0.5511, allocations: 388.8 kB / 0.8189 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5511, allocations: 5.719 kB / 0.819 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008013/0.5519, allocations: 219.9 kB / 0.8192 GB, free: 13.29 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000158/0.5521, allocations: 121.8 kB / 0.8193 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.5541, allocations: 1.274 MB / 0.8205 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5541, allocations: 0 / 0.8205 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.5553, allocations: 0.8944 MB / 0.8214 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.5564, allocations: 225 kB / 0.8216 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.5586, allocations: 1.332 MB / 0.8229 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.5592, allocations: 1.007 MB / 0.8239 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003854/0.5596, allocations: 121.7 kB / 0.824 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.5597, allocations: 41.92 kB / 0.824 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.5597, allocations: 0 / 0.824 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of Templates: time 0.01906/0.5788, allocations: 11.32 MB / 0.8351 GB, free: 5.324 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)