Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009047, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005917/0.005917, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 278.4 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9237/0.9237, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005528/0.0005529, allocations: 14.25 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1477, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006059/0.1538, allocations: 5.664 MB / 0.6907 GB, free: 9.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004564/0.1584, allocations: 3.111 MB / 0.6937 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.1588, allocations: 25 kB / 0.6937 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.1591, allocations: 127 kB / 0.6938 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009952/0.1601, allocations: 446.7 kB / 0.6943 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.1612, allocations: 438.2 kB / 0.6947 GB, free: 5.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.1626, allocations: 1.46 MB / 0.6961 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.1643, allocations: 0.9953 MB / 0.6971 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/0.1648, allocations: 362.3 kB / 0.6974 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.1653, allocations: 450.2 kB / 0.6979 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.1653, allocations: 28 kB / 0.6979 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008616/0.1662, allocations: 0.5653 MB / 0.6984 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.1664, allocations: 255.2 kB / 0.6987 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.1667, allocations: 379.7 kB / 0.699 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009991/0.1677, allocations: 1.156 MB / 0.7002 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1678, allocations: 4 kB / 0.7002 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1678, allocations: 0 / 0.7002 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.1678, allocations: 0 / 0.7002 GB, free: 15.61 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001265/0.1691, allocations: 0.9155 MB / 0.7011 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1691, allocations: 8.031 kB / 0.7011 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.1706, allocations: 219.7 kB / 0.7013 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.1713, allocations: 0.5375 MB / 0.7018 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.1713, allocations: 41.69 kB / 0.7019 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.1714, allocations: 68.36 kB / 0.7019 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.1728, allocations: 1.03 MB / 0.7029 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.1728, allocations: 3.938 kB / 0.7029 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.1729, allocations: 35.98 kB / 0.703 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.992e-05/0.173, allocations: 69.27 kB / 0.703 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009907/0.174, allocations: 0.6918 MB / 0.7037 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004523/0.1785, allocations: 5.772 MB / 0.7093 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007701/0.1793, allocations: 0.597 MB / 0.7099 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007455/0.1801, allocations: 420.6 kB / 0.7103 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.1801, allocations: 4 kB / 0.7103 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1801, allocations: 42.5 kB / 0.7104 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.984e-06/0.1801, allocations: 0 / 0.7104 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004285/0.1844, allocations: 2.073 MB / 0.7124 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1845, allocations: 59.41 kB / 0.7125 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.1849, allocations: 450.8 kB / 0.7129 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.185, allocations: 37.7 kB / 0.7129 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.1852, allocations: 379 kB / 0.7133 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1853, allocations: 161.8 kB / 0.7134 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.1854, allocations: 49.7 kB / 0.7135 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.1855, allocations: 366.8 kB / 0.7138 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.1859, allocations: 245.2 kB / 0.7141 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.1863, allocations: 457 kB / 0.7145 GB, free: 24 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008823/0.1872, allocations: 0.7558 MB / 0.7152 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1872, allocations: 4 kB / 0.7152 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001797/0.189, allocations: 1.058 MB / 0.7163 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1891, allocations: 8 kB / 0.7163 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1891, allocations: 4 kB / 0.7163 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.1901, allocations: 331.2 kB / 0.7166 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.1904, allocations: 99.81 kB / 0.7167 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007093/0.1975, allocations: 6.95 MB / 0.7235 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.198, allocations: 32.02 kB / 0.7235 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.198, allocations: 28 kB / 0.7235 GB, free: 6.098 MB / 0.5137 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003654/0.1984, allocations: 247.5 kB / 0.7238 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.16e-05/0.1985, allocations: 63.25 kB / 0.7238 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.2002, allocations: 0.9158 MB / 0.7247 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2002, allocations: 4 kB / 0.7247 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2002, allocations: 4 kB / 0.7247 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.2002, allocations: 7.922 kB / 0.7248 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.2028, allocations: 1.701 MB / 0.7264 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2028, allocations: 0 / 0.7264 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.203, allocations: 44.16 kB / 0.7265 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009412/0.2039, allocations: 331.1 kB / 0.7268 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.204, allocations: 12 kB / 0.7268 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00628/0.2102, allocations: 6.935 MB / 0.7336 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2103, allocations: 4 kB / 0.7336 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.2119, allocations: 1.015 MB / 0.7345 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.2121, allocations: 176.3 kB / 0.7347 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.2122, allocations: 12 kB / 0.7347 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.2124, allocations: 23.91 kB / 0.7348 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.2125, allocations: 43.95 kB / 0.7348 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.2126, allocations: 11.94 kB / 0.7348 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003048/0.2129, allocations: 310.9 kB / 0.7351 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2129, allocations: 0 / 0.7351 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000737/0.2136, allocations: 192 kB / 0.7353 GB, free: 9.348 MB / 0.5294 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.2138, allocations: 115.9 kB / 0.7354 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.2155, allocations: 1.206 MB / 0.7366 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2155, allocations: 0 / 0.7366 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.2166, allocations: 0.862 MB / 0.7374 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.2177, allocations: 188.3 kB / 0.7376 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.2195, allocations: 1.534 MB / 0.7391 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.22, allocations: 0.9959 MB / 0.7401 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.2203, allocations: 97.17 kB / 0.7402 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.2204, allocations: 39.38 kB / 0.7402 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of SimCode: time 4.1e-07/0.2204, allocations: 0 / 0.7402 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of Templates: time 0.01477/0.2352, allocations: 9.462 MB / 0.7494 GB, free: 10.77 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)