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.005654/0.005654, allocations: 96.47 kB / 15.73 MB, free: 6.051 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.001317/0.001317, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 279.2 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.9373/0.9373, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 91.86 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1488, allocations: 86.97 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.3384/0.4873, allocations: 10.88 MB / 0.777 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01047/0.4978, allocations: 8.808 MB / 0.7856 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.4989, allocations: 54.94 kB / 0.7857 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003667/0.5027, allocations: 1.677 MB / 0.7873 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.5069, allocations: 1.535 MB / 0.7888 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.5085, allocations: 0.6696 MB / 0.7895 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.5107, allocations: 2.286 MB / 0.7917 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.5121, allocations: 1.376 MB / 0.793 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.5133, allocations: 0.9864 MB / 0.794 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.5145, allocations: 1.016 MB / 0.795 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.5147, allocations: 141.6 kB / 0.7951 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.5161, allocations: 0.8011 MB / 0.7959 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000527/0.5166, allocations: 0.5633 MB / 0.7965 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007826/0.5174, allocations: 0.8811 MB / 0.7973 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.5204, allocations: 2.587 MB / 0.7998 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5204, allocations: 0 / 0.7998 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5204, allocations: 0 / 0.7998 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.76e-05/0.5205, allocations: 3.938 kB / 0.7998 GB, free: 14.29 MB / 0.5762 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.00333/0.5238, allocations: 2.076 MB / 0.8019 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5239, allocations: 9.375 kB / 0.8019 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.5353, allocations: 2.06 MB / 0.8039 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.5381, allocations: 1.223 MB / 0.8051 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/0.5381, allocations: 91.69 kB / 0.8052 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/0.5384, allocations: 111.6 kB / 0.8053 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005613/0.544, allocations: 2.491 MB / 0.8077 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.5441, allocations: 10.67 kB / 0.8077 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.5442, allocations: 50.44 kB / 0.8078 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003287/0.5446, allocations: 129.8 kB / 0.8079 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007101/0.5517, allocations: 2.542 MB / 0.8104 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.5647, allocations: 10.05 MB / 0.8202 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006108/0.5709, allocations: 1.952 MB / 0.8221 GB, free: 268 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002697/0.5736, allocations: 0.9687 MB / 0.823 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.5737, allocations: 5.594 kB / 0.823 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.5737, allocations: 42.19 kB / 0.8231 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.5737, allocations: 0 / 0.8231 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03161/0.6053, allocations: 8.743 MB / 0.8316 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.6054, allocations: 59.88 kB / 0.8317 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.6073, allocations: 1.103 MB / 0.8328 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.6074, allocations: 37.83 kB / 0.8328 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/0.6079, allocations: 0.7512 MB / 0.8335 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.6082, allocations: 295.8 kB / 0.8338 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004285/0.6086, allocations: 207.4 kB / 0.834 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6088, allocations: 344.9 kB / 0.8343 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00295/0.6117, allocations: 1.069 MB / 0.8354 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003135/0.6149, allocations: 1.302 MB / 0.8367 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005977/0.6209, allocations: 2.383 MB / 0.839 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.6209, allocations: 6.719 kB / 0.839 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009788/0.6307, allocations: 3.282 MB / 0.8422 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.6308, allocations: 8 kB / 0.8422 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.6308, allocations: 14.23 kB / 0.8422 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/0.6339, allocations: 0.7833 MB / 0.843 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.636, allocations: 419.2 kB / 0.8434 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.6522, allocations: 15.92 MB / 0.8589 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.6549, allocations: 287.5 kB / 0.8592 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.6551, allocations: 55.95 kB / 0.8593 GB, free: 1.613 MB / 0.6075 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.0009063/0.656, allocations: 397.5 kB / 0.8596 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004466/0.6565, allocations: 151.1 kB / 0.8598 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009059/0.6656, allocations: 3.207 MB / 0.8629 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.6656, allocations: 11.94 kB / 0.8629 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.388e-05/0.6656, allocations: 19.91 kB / 0.8629 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.6657, allocations: 7.984 kB / 0.8629 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.6777, allocations: 4.898 MB / 0.8677 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.6778, allocations: 4 kB / 0.8677 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.6795, allocations: 355.3 kB / 0.8681 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002468/0.682, allocations: 0.6936 MB / 0.8688 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.6821, allocations: 31.97 kB / 0.8688 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01544/0.6976, allocations: 15.53 MB / 0.884 GB, free: 7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6976, allocations: 4.031 kB / 0.884 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008383/0.706, allocations: 3.064 MB / 0.8869 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009151/0.7069, allocations: 392 kB / 0.8873 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004592/0.7074, allocations: 12 kB / 0.8873 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/0.7096, allocations: 295.5 kB / 0.8876 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.7099, allocations: 84.42 kB / 0.8877 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.71, allocations: 35.97 kB / 0.8877 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001155/0.7112, allocations: 0.7327 MB / 0.8884 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7112, allocations: 0 / 0.8884 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001776/0.7129, allocations: 436 kB / 0.8889 GB, free: 1.871 MB / 0.6387 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.0002579/0.7132, allocations: 135.2 kB / 0.889 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008618/0.7218, allocations: 3.644 MB / 0.8925 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7219, allocations: 0 / 0.8925 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005044/0.7269, allocations: 2.367 MB / 0.8949 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/0.7297, allocations: 0.5274 MB / 0.8954 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/0.7376, allocations: 3.479 MB / 0.8988 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.7389, allocations: 1.392 MB / 0.9001 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001542/0.7404, allocations: 379.8 kB / 0.9005 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.7409, allocations: 103.4 kB / 0.9006 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.7409, allocations: 0 / 0.9006 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of Templates: time 0.05126/0.7921, allocations: 30.51 MB / 0.9304 GB, free: 7.484 MB / 0.6856 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)