Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.536/1.536, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 175.8 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.4 MB / 0.5783 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000955/0.000955, allocations: 88.61 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003837, allocations: 9.156 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1885, allocations: 106.3 MB / 0.9008 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004679/0.1932, allocations: 5.382 MB / 0.9061 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003519/0.1968, allocations: 3.018 MB / 0.909 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.1972, allocations: 27.81 kB / 0.9091 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1975, allocations: 119 kB / 0.9092 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007237/0.1982, allocations: 382 kB / 0.9095 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000769/0.199, allocations: 351.2 kB / 0.9099 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007746/0.1998, allocations: 1.209 MB / 0.9111 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.201, allocations: 0.907 MB / 0.9119 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.2014, allocations: 362.4 kB / 0.9123 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.2018, allocations: 434.4 kB / 0.9127 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.2019, allocations: 28 kB / 0.9127 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.2023, allocations: 251.6 kB / 0.913 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.2025, allocations: 251.3 kB / 0.9132 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.2026, allocations: 165.3 kB / 0.9134 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005634/0.2032, allocations: 0.8768 MB / 0.9142 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2032, allocations: 0 / 0.9142 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2032, allocations: 3.938 kB / 0.9142 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.669e-06/0.2032, allocations: 0 / 0.9142 GB, free: 50.54 MB / 0.6042 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.001062/0.2043, allocations: 0.9154 MB / 0.9151 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2043, allocations: 16.03 kB / 0.9151 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.2056, allocations: 222.7 kB / 0.9154 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.2062, allocations: 0.5095 MB / 0.9158 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.2063, allocations: 45.3 kB / 0.9159 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.2063, allocations: 63.89 kB / 0.916 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.2074, allocations: 1.029 MB / 0.917 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.2075, allocations: 7.938 kB / 0.917 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.809e-05/0.2075, allocations: 31.98 kB / 0.917 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.298e-05/0.2076, allocations: 61.28 kB / 0.9171 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007995/0.2084, allocations: 0.6918 MB / 0.9177 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.2117, allocations: 5.757 MB / 0.9234 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.2124, allocations: 0.5981 MB / 0.9239 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/0.213, allocations: 424.6 kB / 0.9243 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2131, allocations: 8.672 kB / 0.9243 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.2131, allocations: 38.56 kB / 0.9244 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.294e-06/0.2131, allocations: 0 / 0.9244 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.003619/0.2167, allocations: 2.053 MB / 0.9264 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.2168, allocations: 59.41 kB / 0.9264 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.2171, allocations: 454.6 kB / 0.9269 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.2171, allocations: 37.7 kB / 0.9269 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.2173, allocations: 383 kB / 0.9273 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.2174, allocations: 149.9 kB / 0.9274 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.2174, allocations: 12 kB / 0.9274 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.2175, allocations: 366.8 kB / 0.9278 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.2178, allocations: 245.1 kB / 0.928 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.2181, allocations: 453 kB / 0.9285 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.2184, allocations: 311.8 kB / 0.9288 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2184, allocations: 0 / 0.9288 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001489/0.2199, allocations: 1.062 MB / 0.9298 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.22, allocations: 8 kB / 0.9298 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.22, allocations: 4 kB / 0.9298 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009408/0.2209, allocations: 335.2 kB / 0.9301 GB, free: 33.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.2212, allocations: 95.83 kB / 0.9302 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004701/0.2259, allocations: 6.943 MB / 0.937 GB, free: 25.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.2263, allocations: 28.03 kB / 0.937 GB, free: 25.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.2264, allocations: 24 kB / 0.937 GB, free: 25.69 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.2267, allocations: 253.6 kB / 0.9373 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.2267, allocations: 59.39 kB / 0.9373 GB, free: 25.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.2281, allocations: 0.912 MB / 0.9382 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2282, allocations: 4 kB / 0.9382 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2282, allocations: 4 kB / 0.9382 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2282, allocations: 11.94 kB / 0.9382 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.2303, allocations: 1.7 MB / 0.9399 GB, free: 22.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2303, allocations: 4 kB / 0.9399 GB, free: 22.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.2304, allocations: 40.09 kB / 0.9399 GB, free: 22.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008326/0.2313, allocations: 323.5 kB / 0.9403 GB, free: 22.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.2313, allocations: 11.95 kB / 0.9403 GB, free: 22.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004559/0.2359, allocations: 6.935 MB / 0.947 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2359, allocations: 4 kB / 0.947 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.2373, allocations: 1.007 MB / 0.948 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.2375, allocations: 180.2 kB / 0.9482 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.2375, allocations: 8 kB / 0.9482 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.2378, allocations: 27.97 kB / 0.9482 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.2379, allocations: 35.95 kB / 0.9483 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.2379, allocations: 16 kB / 0.9483 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002421/0.2381, allocations: 302.9 kB / 0.9486 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2382, allocations: 0 / 0.9486 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006374/0.2388, allocations: 196 kB / 0.9488 GB, free: 12.95 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.2389, allocations: 115.1 kB / 0.9489 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.2403, allocations: 1.195 MB / 0.95 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2403, allocations: 0 / 0.95 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009185/0.2412, allocations: 0.8695 MB / 0.9509 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/0.2421, allocations: 188.4 kB / 0.9511 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2436, allocations: 1.527 MB / 0.9526 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.244, allocations: 0.9921 MB / 0.9535 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.2441, allocations: 35.44 kB / 0.9536 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.2441, allocations: 3.938 kB / 0.9536 GB, free: 7.844 MB / 0.6042 GB Notification: Performance of Templates: time 0.01777/0.2619, allocations: 18.4 MB / 0.9715 GB, free: 5.469 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)