Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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/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: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001018/0.001018, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 182.9 kB / 16.92 MB, free: 6.688 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6868/0.6868, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006867/0.0006869, allocations: 12 kB / 495.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1868, allocations: 77.54 MB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008391/0.1953, allocations: 6.362 MB / 0.5662 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.2008, allocations: 3.029 MB / 0.5691 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007631/0.2016, allocations: 23.81 kB / 0.5692 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.2021, allocations: 134.8 kB / 0.5693 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.2038, allocations: 473.7 kB / 0.5697 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2051, allocations: 407.2 kB / 0.5701 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00217/0.2073, allocations: 1.603 MB / 0.5717 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.2094, allocations: 1.011 MB / 0.5727 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007715/0.2101, allocations: 390.3 kB / 0.5731 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008862/0.211, allocations: 0.4941 MB / 0.5735 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.2112, allocations: 36 kB / 0.5736 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009151/0.2121, allocations: 447 kB / 0.574 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.2125, allocations: 259.2 kB / 0.5742 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005789/0.2131, allocations: 435.4 kB / 0.5747 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.2147, allocations: 1.187 MB / 0.5758 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2147, allocations: 8 kB / 0.5758 GB, free: 8.719 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2147, allocations: 0 / 0.5758 GB, free: 8.719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.842e-05/0.2148, allocations: 0 / 0.5758 GB, free: 8.719 MB / 446.1 MB 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.002157/0.2169, allocations: 1.005 MB / 0.5768 GB, free: 7.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.217, allocations: 16.03 kB / 0.5768 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.2188, allocations: 243.5 kB / 0.5771 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009848/0.2198, allocations: 0.5531 MB / 0.5776 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.2198, allocations: 49.67 kB / 0.5776 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.22, allocations: 60.38 kB / 0.5777 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.2218, allocations: 1.089 MB / 0.5788 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.2218, allocations: 4 kB / 0.5788 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.2219, allocations: 28 kB / 0.5788 GB, free: 5.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001584/0.2221, allocations: 85.25 kB / 0.5789 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.2234, allocations: 0.7542 MB / 0.5796 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3086/0.5321, allocations: 5.894 MB / 0.5854 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.5332, allocations: 0.5511 MB / 0.5859 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/0.5337, allocations: 328.6 kB / 0.5862 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.5338, allocations: 6.031 kB / 0.5862 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.5338, allocations: 41.55 kB / 0.5863 GB, free: 27.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.445e-06/0.5338, allocations: 0 / 0.5863 GB, free: 27.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.004168/0.538, allocations: 2.007 MB / 0.5882 GB, free: 26.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.538, allocations: 56.91 kB / 0.5883 GB, free: 26.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.5387, allocations: 0.5586 MB / 0.5888 GB, free: 26.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.5388, allocations: 37.11 kB / 0.5889 GB, free: 26.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.539, allocations: 417.3 kB / 0.5893 GB, free: 26.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.5392, allocations: 175.8 kB / 0.5894 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/0.5392, allocations: 56.77 kB / 0.5895 GB, free: 26.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5394, allocations: 378.3 kB / 0.5898 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.5398, allocations: 275.3 kB / 0.5901 GB, free: 25.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.5403, allocations: 495.3 kB / 0.5906 GB, free: 25.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009688/0.5413, allocations: 0.8119 MB / 0.5914 GB, free: 24.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5413, allocations: 1.375 kB / 0.5914 GB, free: 24.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001918/0.5432, allocations: 1.088 MB / 0.5924 GB, free: 24.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.5433, allocations: 7.875 kB / 0.5924 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.5433, allocations: 9.25 kB / 0.5925 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008851/0.5442, allocations: 278.7 kB / 0.5927 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.5447, allocations: 130 kB / 0.5928 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006094/0.5508, allocations: 6.603 MB / 0.5993 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.5515, allocations: 36.5 kB / 0.5993 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.5516, allocations: 31.36 kB / 0.5994 GB, free: 18.58 MB / 446.1 MB 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.0004214/0.552, allocations: 255.5 kB / 0.5996 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.5522, allocations: 72.16 kB / 0.5997 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.554, allocations: 0.8882 MB / 0.6005 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.554, allocations: 10.09 kB / 0.6005 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.554, allocations: 3.656 kB / 0.6005 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.554, allocations: 2.297 kB / 0.6005 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.557, allocations: 1.731 MB / 0.6022 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.557, allocations: 5.031 kB / 0.6022 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.5573, allocations: 60.3 kB / 0.6023 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007701/0.558, allocations: 264.5 kB / 0.6026 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.5581, allocations: 12.98 kB / 0.6026 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005479/0.5636, allocations: 6.593 MB / 0.609 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5636, allocations: 2.156 kB / 0.609 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.5652, allocations: 0.9831 MB / 0.61 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.5654, allocations: 202.5 kB / 0.6102 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.5655, allocations: 12.05 kB / 0.6102 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.5659, allocations: 31.98 kB / 0.6102 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.566, allocations: 38.09 kB / 0.6102 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.5661, allocations: 14.77 kB / 0.6103 GB, free: 10.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004782/0.5665, allocations: 393.6 kB / 0.6106 GB, free: 10.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.5666, allocations: 0 / 0.6106 GB, free: 10.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009374/0.5675, allocations: 228.5 kB / 0.6108 GB, free: 10.33 MB / 446.1 MB 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.0001485/0.5677, allocations: 116.9 kB / 0.611 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.5696, allocations: 1.273 MB / 0.6122 GB, free: 9.492 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.5696, allocations: 1.406 kB / 0.6122 GB, free: 9.492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.5707, allocations: 0.8937 MB / 0.6131 GB, free: 8.883 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.5719, allocations: 210.3 kB / 0.6133 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.5741, allocations: 1.662 MB / 0.6149 GB, free: 7.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.5746, allocations: 1.017 MB / 0.6159 GB, free: 7.059 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004366/0.5751, allocations: 117 kB / 0.616 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.5752, allocations: 42.89 kB / 0.616 GB, free: 7.027 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5752, allocations: 0 / 0.616 GB, free: 7.027 MB / 446.1 MB Notification: Performance of Templates: time 0.0176/0.5928, allocations: 10.63 MB / 0.6264 GB, free: 2.605 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)