Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 108.5 kB / 16.41 MB, free: 6.508 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.001488/0.001488, allocations: 184 kB / 17.34 MB, free: 5.738 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.472/1.472, allocations: 222.9 MB / 241 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.002538/0.002538, allocations: 294.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.054/1.054, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 95.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4158, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01373/0.4295, allocations: 10.92 MB / 0.7777 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.4429, allocations: 8.811 MB / 0.7863 GB, free: 120 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.444, allocations: 55.62 kB / 0.7864 GB, free: 64 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004271/0.4482, allocations: 1.681 MB / 0.788 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.4525, allocations: 1.571 MB / 0.7896 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.4542, allocations: 0.6722 MB / 0.7902 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002948/0.4572, allocations: 2.286 MB / 0.7924 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.4587, allocations: 1.091 MB / 0.7935 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.4602, allocations: 1.012 MB / 0.7945 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.4616, allocations: 1.019 MB / 0.7955 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.4618, allocations: 140 kB / 0.7956 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.4632, allocations: 0.7955 MB / 0.7964 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005648/0.4638, allocations: 0.5841 MB / 0.797 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009058/0.4647, allocations: 0.8823 MB / 0.7978 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003054/0.4678, allocations: 2.578 MB / 0.8003 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4678, allocations: 0 / 0.8003 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4678, allocations: 0 / 0.8003 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.555e-05/0.4678, allocations: 0 / 0.8003 GB, free: 1.691 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003539/0.4713, allocations: 2.077 MB / 0.8024 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4714, allocations: 12.03 kB / 0.8024 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.4835, allocations: 2.063 MB / 0.8044 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/0.4862, allocations: 1.217 MB / 0.8056 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.081e-05/0.4863, allocations: 90.69 kB / 0.8057 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.4866, allocations: 108.9 kB / 0.8058 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005913/0.4925, allocations: 2.486 MB / 0.8082 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.4925, allocations: 11.83 kB / 0.8082 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.4927, allocations: 55.98 kB / 0.8083 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003776/0.4931, allocations: 126.1 kB / 0.8084 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00784/0.5009, allocations: 2.545 MB / 0.8109 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.5161, allocations: 10.04 MB / 0.8207 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006791/0.5229, allocations: 1.929 MB / 0.8226 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002926/0.5258, allocations: 0.9386 MB / 0.8235 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.921e-05/0.5259, allocations: 16.42 kB / 0.8235 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.5259, allocations: 39 kB / 0.8235 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.385e-06/0.5259, allocations: 0 / 0.8235 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03368/0.5596, allocations: 8.721 MB / 0.8321 GB, free: 196 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.5596, allocations: 60.06 kB / 0.8321 GB, free: 124 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.5612, allocations: 1.093 MB / 0.8332 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.5614, allocations: 41.7 kB / 0.8332 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/0.562, allocations: 0.7512 MB / 0.834 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.5623, allocations: 301.4 kB / 0.8342 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/0.5627, allocations: 210.4 kB / 0.8344 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5629, allocations: 341.9 kB / 0.8348 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/0.5662, allocations: 1.075 MB / 0.8358 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00346/0.5696, allocations: 1.309 MB / 0.8371 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006713/0.5763, allocations: 2.378 MB / 0.8394 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.5763, allocations: 4 kB / 0.8394 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009712/0.5861, allocations: 3.242 MB / 0.8426 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.5861, allocations: 16.12 kB / 0.8426 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.5861, allocations: 8 kB / 0.8426 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/0.589, allocations: 0.791 MB / 0.8434 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.591, allocations: 419.2 kB / 0.8438 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/0.6092, allocations: 15.93 MB / 0.8593 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.6118, allocations: 287.5 kB / 0.8596 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.6119, allocations: 47.97 kB / 0.8597 GB, free: 2.488 MB / 0.6231 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008207/0.6127, allocations: 397.6 kB / 0.86 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.613, allocations: 151 kB / 0.8602 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009608/0.6226, allocations: 3.175 MB / 0.8633 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.6226, allocations: 12 kB / 0.8633 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.6226, allocations: 8 kB / 0.8633 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6226, allocations: 15.8 kB / 0.8633 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.6348, allocations: 4.863 MB / 0.8681 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.6348, allocations: 4 kB / 0.8681 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/0.6367, allocations: 351.4 kB / 0.8684 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002458/0.6391, allocations: 0.6977 MB / 0.8691 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.816e-05/0.6392, allocations: 39.89 kB / 0.8691 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/0.6563, allocations: 15.54 MB / 0.8843 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6563, allocations: 4 kB / 0.8843 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008913/0.6652, allocations: 3.028 MB / 0.8873 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009225/0.6661, allocations: 388 kB / 0.8876 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.6663, allocations: 16 kB / 0.8876 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/0.6683, allocations: 291.5 kB / 0.8879 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.6685, allocations: 84.44 kB / 0.888 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.585e-05/0.6686, allocations: 43.95 kB / 0.888 GB, free: 4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001053/0.6697, allocations: 0.7327 MB / 0.8888 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6697, allocations: 0 / 0.8888 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001469/0.6711, allocations: 432 kB / 0.8892 GB, free: 2.844 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002583/0.6714, allocations: 135 kB / 0.8893 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009295/0.6807, allocations: 3.508 MB / 0.8927 GB, free: 15.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.6807, allocations: 4 kB / 0.8927 GB, free: 15.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005446/0.6861, allocations: 2.328 MB / 0.895 GB, free: 12.66 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.6885, allocations: 0.5311 MB / 0.8955 GB, free: 12.16 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008027/0.6965, allocations: 3.478 MB / 0.8989 GB, free: 8.625 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.6977, allocations: 1.388 MB / 0.9003 GB, free: 7.203 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00135/0.6991, allocations: 375.9 kB / 0.9006 GB, free: 6.832 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.6994, allocations: 103.4 kB / 0.9007 GB, free: 6.73 MB / 0.67 GB Notification: Performance of SimCode: time 9.41e-07/0.6994, allocations: 4 kB / 0.9007 GB, free: 6.727 MB / 0.67 GB Notification: Performance of Templates: time 0.05535/0.7548, allocations: 30.66 MB / 0.9307 GB, free: 8.473 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)