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.00447/0.00447, allocations: 103.2 kB / 15.73 MB, free: 6.012 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.001069/0.001069, allocations: 192.7 kB / 16.67 MB, free: 5.938 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 291.6 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9304/0.9304, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 95.86 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.396, allocations: 86.98 MB / 0.7664 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.013/0.409, allocations: 10.89 MB / 0.777 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.4215, allocations: 8.795 MB / 0.7856 GB, free: 188 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.4227, allocations: 55.69 kB / 0.7857 GB, free: 132 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004215/0.4269, allocations: 1.672 MB / 0.7873 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.4308, allocations: 1.568 MB / 0.7888 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.4325, allocations: 0.6784 MB / 0.7895 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002749/0.4353, allocations: 2.282 MB / 0.7917 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.4371, allocations: 1.372 MB / 0.7931 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.4386, allocations: 1.008 MB / 0.794 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.4403, allocations: 1.031 MB / 0.7951 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003574/0.4407, allocations: 136 kB / 0.7952 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.4423, allocations: 0.7916 MB / 0.796 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006417/0.443, allocations: 0.5686 MB / 0.7965 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.4442, allocations: 0.89 MB / 0.7974 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.4471, allocations: 2.572 MB / 0.7999 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4471, allocations: 0 / 0.7999 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4471, allocations: 0 / 0.7999 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.16e-05/0.4472, allocations: 0 / 0.7999 GB, free: 1.488 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.003636/0.4509, allocations: 2.018 MB / 0.8019 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.4509, allocations: 8.031 kB / 0.8019 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.4612, allocations: 2.05 MB / 0.8039 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.4632, allocations: 1.212 MB / 0.8051 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.4633, allocations: 86.69 kB / 0.8051 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.4635, allocations: 120.1 kB / 0.8053 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004842/0.4684, allocations: 2.478 MB / 0.8077 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.4684, allocations: 15.84 kB / 0.8077 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.4686, allocations: 55.98 kB / 0.8077 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003115/0.4689, allocations: 130.1 kB / 0.8079 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006358/0.4753, allocations: 2.533 MB / 0.8103 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.4869, allocations: 10.03 MB / 0.8201 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005473/0.4924, allocations: 1.947 MB / 0.822 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/0.4948, allocations: 0.9777 MB / 0.823 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.4949, allocations: 8.422 kB / 0.823 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.4949, allocations: 43 kB / 0.823 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.495e-06/0.4949, allocations: 0 / 0.823 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.02824/0.5232, allocations: 8.71 MB / 0.8316 GB, free: 36 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.5233, allocations: 64.06 kB / 0.8316 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.5246, allocations: 1.105 MB / 0.8327 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.436e-05/0.5247, allocations: 41.7 kB / 0.8327 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/0.5252, allocations: 0.7418 MB / 0.8335 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.5255, allocations: 279.9 kB / 0.8337 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/0.5259, allocations: 198.4 kB / 0.8339 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.526, allocations: 341.9 kB / 0.8342 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/0.5286, allocations: 1.075 MB / 0.8353 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/0.5314, allocations: 1.309 MB / 0.8366 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005358/0.5368, allocations: 2.382 MB / 0.8389 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.5368, allocations: 4 kB / 0.8389 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007975/0.5448, allocations: 3.28 MB / 0.8421 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.5448, allocations: 8 kB / 0.8421 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.5449, allocations: 8 kB / 0.8421 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002702/0.5476, allocations: 0.7916 MB / 0.8429 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.5493, allocations: 419.3 kB / 0.8433 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/0.5644, allocations: 15.9 MB / 0.8588 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.5665, allocations: 299.6 kB / 0.8591 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.5666, allocations: 47.97 kB / 0.8592 GB, free: 2.328 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.0006612/0.5673, allocations: 404.6 kB / 0.8595 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.5675, allocations: 142.3 kB / 0.8597 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007815/0.5753, allocations: 3.195 MB / 0.8628 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5753, allocations: 11.94 kB / 0.8628 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.5753, allocations: 8 kB / 0.8628 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5754, allocations: 3.984 kB / 0.8628 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009888/0.5852, allocations: 4.902 MB / 0.8676 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-06/0.5853, allocations: 3.938 kB / 0.8676 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.5867, allocations: 359.7 kB / 0.8679 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/0.589, allocations: 0.6978 MB / 0.8686 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-05/0.5891, allocations: 31.97 kB / 0.8687 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01484/0.6039, allocations: 15.54 MB / 0.8838 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.604, allocations: 7.938 kB / 0.8838 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007416/0.6114, allocations: 3.039 MB / 0.8868 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006293/0.612, allocations: 379.2 kB / 0.8872 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.6122, allocations: 23.94 kB / 0.8872 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.6138, allocations: 295.4 kB / 0.8875 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.6141, allocations: 80.48 kB / 0.8876 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.772e-05/0.6142, allocations: 39.97 kB / 0.8876 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009458/0.6151, allocations: 0.7405 MB / 0.8883 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6151, allocations: 0 / 0.8883 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001342/0.6165, allocations: 432 kB / 0.8887 GB, free: 2.621 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.0002098/0.6167, allocations: 131.1 kB / 0.8889 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007531/0.6242, allocations: 3.625 MB / 0.8924 GB, free: 14.76 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6242, allocations: 0 / 0.8924 GB, free: 14.76 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00439/0.6286, allocations: 2.371 MB / 0.8947 GB, free: 12.29 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.6305, allocations: 0.5222 MB / 0.8952 GB, free: 11.79 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/0.637, allocations: 3.432 MB / 0.8986 GB, free: 8.305 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009734/0.638, allocations: 1.388 MB / 0.8999 GB, free: 6.883 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001095/0.6391, allocations: 379.8 kB / 0.9003 GB, free: 6.508 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.6395, allocations: 107.4 kB / 0.9004 GB, free: 6.402 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.6395, allocations: 0 / 0.9004 GB, free: 6.402 MB / 0.67 GB Notification: Performance of Templates: time 0.04742/0.6869, allocations: 30.5 MB / 0.9302 GB, free: 8.324 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)