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.005508/0.005508, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001363/0.001363, allocations: 201.5 kB / 16.68 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 275.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.951/0.951, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 95.84 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1438, 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_L): time 0.007208/0.1511, allocations: 6.08 MB / 0.7723 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3345/0.4856, allocations: 3.127 MB / 0.7754 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.4863, allocations: 33.14 kB / 0.7754 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.4885, allocations: 0.9243 MB / 0.7763 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009695/0.4895, allocations: 495.9 kB / 0.7768 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.4905, allocations: 492.6 kB / 0.7773 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.4916, allocations: 1.103 MB / 0.7783 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008255/0.4924, allocations: 0.6357 MB / 0.779 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.4929, allocations: 447.9 kB / 0.7794 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.4934, allocations: 475.8 kB / 0.7798 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.4935, allocations: 58.41 kB / 0.7799 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.4942, allocations: 491.2 kB / 0.7804 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.4944, allocations: 285 kB / 0.7806 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003152/0.4948, allocations: 396 kB / 0.781 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.4958, allocations: 1.169 MB / 0.7821 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4958, allocations: 7.312 kB / 0.7822 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.572e-06/0.4958, allocations: 0 / 0.7822 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.4959, allocations: 0.8125 kB / 0.7822 GB, free: 7.961 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001342/0.4972, allocations: 1.053 MB / 0.7832 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4972, allocations: 9.188 kB / 0.7832 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.4987, allocations: 218.6 kB / 0.7834 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007709/0.4995, allocations: 0.5859 MB / 0.784 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.4996, allocations: 49.42 kB / 0.784 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-05/0.4997, allocations: 66.19 kB / 0.7841 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.5009, allocations: 1.026 MB / 0.7851 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.501, allocations: 12.45 kB / 0.7851 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.501, allocations: 37.08 kB / 0.7851 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.039e-05/0.5011, allocations: 71.31 kB / 0.7852 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000906/0.502, allocations: 0.6912 MB / 0.7859 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004096/0.5061, allocations: 5.721 MB / 0.7915 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/0.507, allocations: 0.6091 MB / 0.7921 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/0.5077, allocations: 429.3 kB / 0.7925 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.5078, allocations: 9.219 kB / 0.7925 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.5078, allocations: 37.22 kB / 0.7925 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.114e-06/0.5078, allocations: 3.938 kB / 0.7925 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.003885/0.5117, allocations: 2.003 MB / 0.7945 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.5117, allocations: 58.78 kB / 0.7945 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.5122, allocations: 458.2 kB / 0.795 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.5122, allocations: 36.98 kB / 0.795 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.5124, allocations: 388.8 kB / 0.7954 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.027e-05/0.5125, allocations: 154.9 kB / 0.7955 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.5126, allocations: 111.2 kB / 0.7956 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5128, allocations: 361.8 kB / 0.796 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.5131, allocations: 241.1 kB / 0.7962 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.5135, allocations: 454.8 kB / 0.7966 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/0.5144, allocations: 0.7525 MB / 0.7974 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5144, allocations: 5.422 kB / 0.7974 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001846/0.5163, allocations: 1.036 MB / 0.7984 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5163, allocations: 7.594 kB / 0.7984 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.5163, allocations: 7.953 kB / 0.7984 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.5174, allocations: 322.9 kB / 0.7987 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.5177, allocations: 94.03 kB / 0.7988 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007533/0.5252, allocations: 7.473 MB / 0.8061 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.5256, allocations: 29.77 kB / 0.8061 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.5257, allocations: 30.11 kB / 0.8062 GB, free: 6.371 MB / 0.5762 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.0003754/0.5261, allocations: 243.2 kB / 0.8064 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.5262, allocations: 60.72 kB / 0.8064 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.5279, allocations: 0.8942 MB / 0.8073 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.5279, allocations: 4.531 kB / 0.8073 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.528, allocations: 5.25 kB / 0.8073 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.528, allocations: 5.875 kB / 0.8073 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.5307, allocations: 1.688 MB / 0.809 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5307, allocations: 2.25 kB / 0.809 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.5309, allocations: 38.41 kB / 0.809 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009248/0.5318, allocations: 310.2 kB / 0.8093 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.5319, allocations: 11.53 kB / 0.8093 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007106/0.539, allocations: 7.474 MB / 0.8166 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.539, allocations: 3.281 kB / 0.8166 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.5407, allocations: 0.9876 MB / 0.8176 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.541, allocations: 174.1 kB / 0.8178 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.5411, allocations: 12.8 kB / 0.8178 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.5414, allocations: 19.25 kB / 0.8178 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.5415, allocations: 43.95 kB / 0.8178 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.5415, allocations: 9.094 kB / 0.8178 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003992/0.5419, allocations: 307.4 kB / 0.8181 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5419, allocations: 5 kB / 0.8181 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008573/0.5428, allocations: 193.2 kB / 0.8183 GB, free: 13.6 MB / 0.5919 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.0001606/0.543, allocations: 111 kB / 0.8184 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001971/0.5449, allocations: 1.193 MB / 0.8196 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.545, allocations: 0 / 0.8196 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.5462, allocations: 0.8572 MB / 0.8204 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.5472, allocations: 206.4 kB / 0.8206 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.5496, allocations: 1.226 MB / 0.8218 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.5503, allocations: 0.9924 MB / 0.8228 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003202/0.5506, allocations: 102.8 kB / 0.8229 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.5507, allocations: 34.81 kB / 0.8229 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.5507, allocations: 1.219 kB / 0.8229 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.01761/0.5683, allocations: 9.974 MB / 0.8327 GB, free: 6.484 MB / 0.5919 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)