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.006832/0.006832, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001603/0.001603, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 280.6 kB / 290.8 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 0.9236/0.9236, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 95.84 kB / 0.6815 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3907, allocations: 86.97 MB / 0.7664 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01213/0.4028, allocations: 10.9 MB / 0.777 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01231/0.4152, allocations: 8.795 MB / 0.7856 GB, free: 136 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.4163, allocations: 55.69 kB / 0.7857 GB, free: 80 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004123/0.4205, allocations: 1.663 MB / 0.7873 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.4243, allocations: 1.567 MB / 0.7888 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.4259, allocations: 0.6687 MB / 0.7895 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002551/0.4285, allocations: 2.296 MB / 0.7917 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.4302, allocations: 1.376 MB / 0.7931 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.4317, allocations: 1.008 MB / 0.7941 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.4332, allocations: 1.016 MB / 0.795 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003115/0.4335, allocations: 136 kB / 0.7952 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.4349, allocations: 0.8033 MB / 0.796 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005894/0.4355, allocations: 0.5686 MB / 0.7965 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.4367, allocations: 0.8822 MB / 0.7974 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.4394, allocations: 2.58 MB / 0.7999 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4394, allocations: 0 / 0.7999 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4394, allocations: 0 / 0.7999 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.814e-05/0.4395, allocations: 0 / 0.7999 GB, free: 1.449 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.003295/0.4428, allocations: 2.014 MB / 0.8019 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4428, allocations: 12.03 kB / 0.8019 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.4541, allocations: 2.05 MB / 0.8039 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.4561, allocations: 1.216 MB / 0.8051 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.4562, allocations: 86.69 kB / 0.8051 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.4564, allocations: 124.1 kB / 0.8053 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005219/0.4616, allocations: 2.478 MB / 0.8077 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.4617, allocations: 15.83 kB / 0.8077 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.4618, allocations: 51.98 kB / 0.8077 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003372/0.4622, allocations: 130.1 kB / 0.8079 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007159/0.4693, allocations: 2.541 MB / 0.8104 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.4815, allocations: 10.03 MB / 0.8201 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006268/0.4878, allocations: 1.948 MB / 0.822 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.4905, allocations: 0.9699 MB / 0.823 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.4906, allocations: 8.438 kB / 0.823 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4906, allocations: 39 kB / 0.823 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.4906, allocations: 4 kB / 0.823 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03056/0.5212, allocations: 8.718 MB / 0.8316 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.5213, allocations: 60.06 kB / 0.8316 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.5227, allocations: 1.105 MB / 0.8327 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.875e-05/0.5228, allocations: 41.64 kB / 0.8327 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.5233, allocations: 0.7341 MB / 0.8335 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.5236, allocations: 287.9 kB / 0.8337 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.5239, allocations: 198.4 kB / 0.8339 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5241, allocations: 345.9 kB / 0.8342 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/0.527, allocations: 1.071 MB / 0.8353 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003065/0.5301, allocations: 1.313 MB / 0.8366 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006273/0.5364, allocations: 2.382 MB / 0.8389 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5364, allocations: 0 / 0.8389 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00877/0.5452, allocations: 3.277 MB / 0.8421 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.5452, allocations: 11.98 kB / 0.8421 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.5452, allocations: 4 kB / 0.8421 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002693/0.5479, allocations: 0.7872 MB / 0.8429 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.5499, allocations: 415.3 kB / 0.8433 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.5651, allocations: 15.92 MB / 0.8588 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.5674, allocations: 283.5 kB / 0.8591 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.5676, allocations: 55.95 kB / 0.8591 GB, free: 2.293 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.0008176/0.5684, allocations: 407.9 kB / 0.8595 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/0.5688, allocations: 142.3 kB / 0.8597 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008834/0.5776, allocations: 3.198 MB / 0.8628 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.5777, allocations: 15.92 kB / 0.8628 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/0.5777, allocations: 8 kB / 0.8628 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5777, allocations: 3.984 kB / 0.8628 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.5889, allocations: 4.894 MB / 0.8676 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.5889, allocations: 7.938 kB / 0.8676 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.5906, allocations: 355.3 kB / 0.8679 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002357/0.593, allocations: 0.7017 MB / 0.8686 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-05/0.5931, allocations: 27.97 kB / 0.8687 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/0.6081, allocations: 15.53 MB / 0.8838 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.6081, allocations: 8.125 kB / 0.8838 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008317/0.6164, allocations: 3.047 MB / 0.8868 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007285/0.6172, allocations: 391.1 kB / 0.8872 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/0.6175, allocations: 16 kB / 0.8872 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/0.6196, allocations: 295.4 kB / 0.8875 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.6199, allocations: 80.48 kB / 0.8876 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.62, allocations: 39.97 kB / 0.8876 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001116/0.6211, allocations: 0.7404 MB / 0.8883 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6211, allocations: 0 / 0.8883 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001606/0.6227, allocations: 436 kB / 0.8887 GB, free: 2.578 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.0002657/0.623, allocations: 127.1 kB / 0.8889 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008688/0.6317, allocations: 3.629 MB / 0.8924 GB, free: 14.71 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6317, allocations: 0 / 0.8924 GB, free: 14.71 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005068/0.6368, allocations: 2.364 MB / 0.8947 GB, free: 12.25 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.6394, allocations: 0.5364 MB / 0.8952 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00785/0.6472, allocations: 3.423 MB / 0.8986 GB, free: 8.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.6485, allocations: 1.395 MB / 0.8999 GB, free: 6.84 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00137/0.6499, allocations: 371.9 kB / 0.9003 GB, free: 6.473 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.6503, allocations: 111.4 kB / 0.9004 GB, free: 6.363 MB / 0.67 GB Notification: Performance of SimCode: time 8.22e-07/0.6503, allocations: 3.938 kB / 0.9004 GB, free: 6.359 MB / 0.67 GB Notification: Performance of Templates: time 0.04617/0.6964, allocations: 30.49 MB / 0.9302 GB, free: 8.277 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)