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.001644/0.001644, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001636/0.001636, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.435/1.435, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00252/0.00252, allocations: 275.2 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5069 GB, free: 4.676 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 104.1 kB / 0.6059 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1639, allocations: 89.15 MB / 0.693 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009107/0.1731, allocations: 6.072 MB / 0.6989 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005734/0.1788, allocations: 3.13 MB / 0.702 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.1794, allocations: 27.81 kB / 0.702 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.1818, allocations: 0.8784 MB / 0.7029 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.1829, allocations: 438 kB / 0.7033 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1841, allocations: 446.1 kB / 0.7037 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.1854, allocations: 1.096 MB / 0.7048 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.1864, allocations: 0.7133 MB / 0.7055 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/0.187, allocations: 438.3 kB / 0.7059 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006028/0.1876, allocations: 494.1 kB / 0.7064 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.901e-05/0.1877, allocations: 60 kB / 0.7064 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000814/0.1885, allocations: 483 kB / 0.7069 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.1889, allocations: 291.2 kB / 0.7072 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.1893, allocations: 398 kB / 0.7075 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.1906, allocations: 1.203 MB / 0.7087 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1906, allocations: 0 / 0.7087 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1907, allocations: 4 kB / 0.7087 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.1907, allocations: 0 / 0.7087 GB, free: 4.496 MB / 0.4981 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.00167/0.1924, allocations: 1.056 MB / 0.7097 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1924, allocations: 8.031 kB / 0.7098 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.1939, allocations: 223.6 kB / 0.71 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.1947, allocations: 0.5259 MB / 0.7105 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.1948, allocations: 45.67 kB / 0.7105 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.1949, allocations: 72.28 kB / 0.7106 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.1964, allocations: 1.022 MB / 0.7116 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.1965, allocations: 19.84 kB / 0.7116 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.389e-05/0.1966, allocations: 31.97 kB / 0.7116 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.1967, allocations: 69.28 kB / 0.7117 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.1978, allocations: 0.684 MB / 0.7124 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005613/0.2034, allocations: 5.764 MB / 0.718 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/0.2043, allocations: 0.591 MB / 0.7186 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008377/0.2052, allocations: 424.6 kB / 0.719 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.2052, allocations: 4 kB / 0.719 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.2053, allocations: 34.56 kB / 0.719 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 2.164e-06/0.2053, allocations: 4 kB / 0.719 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.004732/0.21, allocations: 2.054 MB / 0.721 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.2101, allocations: 55.41 kB / 0.7211 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.2106, allocations: 462.6 kB / 0.7215 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.2107, allocations: 33.7 kB / 0.7216 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.211, allocations: 391 kB / 0.7219 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.2112, allocations: 149.8 kB / 0.7221 GB, free: 6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.2113, allocations: 106.2 kB / 0.7222 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.2116, allocations: 366.7 kB / 0.7225 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.2119, allocations: 245.2 kB / 0.7228 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.2125, allocations: 457 kB / 0.7232 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.2136, allocations: 0.7558 MB / 0.7239 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2136, allocations: 4 kB / 0.7239 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002016/0.2156, allocations: 1.066 MB / 0.725 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.2156, allocations: 8 kB / 0.725 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2157, allocations: 4 kB / 0.725 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.2168, allocations: 335.2 kB / 0.7253 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.2171, allocations: 95.88 kB / 0.7254 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008216/0.2254, allocations: 7.517 MB / 0.7327 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.2258, allocations: 31.97 kB / 0.7328 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.2259, allocations: 31.98 kB / 0.7328 GB, free: 10.2 MB / 0.5294 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.0003579/0.2262, allocations: 241.6 kB / 0.733 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2263, allocations: 67.22 kB / 0.7331 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.2282, allocations: 0.9039 MB / 0.734 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2282, allocations: 7.984 kB / 0.734 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.2282, allocations: 4 kB / 0.734 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2282, allocations: 0 / 0.734 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.2312, allocations: 1.708 MB / 0.7357 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.2312, allocations: 4 kB / 0.7357 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.2314, allocations: 48.09 kB / 0.7357 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.2324, allocations: 327.1 kB / 0.736 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.2324, allocations: 16 kB / 0.736 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008114/0.2405, allocations: 7.506 MB / 0.7434 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/0.2406, allocations: 0 / 0.7434 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.2425, allocations: 1.011 MB / 0.7444 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.2428, allocations: 176.3 kB / 0.7445 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.2429, allocations: 15.91 kB / 0.7445 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.2431, allocations: 23.97 kB / 0.7446 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.2433, allocations: 39.95 kB / 0.7446 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.2433, allocations: 8 kB / 0.7446 GB, free: 13.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003864/0.2437, allocations: 314.8 kB / 0.7449 GB, free: 13.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2437, allocations: 0 / 0.7449 GB, free: 13.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007844/0.2445, allocations: 199.9 kB / 0.7451 GB, free: 12.86 MB / 0.545 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.0001884/0.2447, allocations: 118.1 kB / 0.7452 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.2468, allocations: 1.242 MB / 0.7464 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2469, allocations: 0 / 0.7464 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.2482, allocations: 0.8661 MB / 0.7473 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.2493, allocations: 214.3 kB / 0.7475 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.2515, allocations: 1.517 MB / 0.749 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/0.2523, allocations: 0.9882 MB / 0.7499 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003061/0.2526, allocations: 101.2 kB / 0.75 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.641e-05/0.2527, allocations: 39.38 kB / 0.75 GB, free: 7.605 MB / 0.545 GB Notification: Performance of SimCode: time 2.595e-06/0.2527, allocations: 0 / 0.75 GB, free: 7.605 MB / 0.545 GB Notification: Performance of Templates: time 0.01892/0.2716, allocations: 10.04 MB / 0.7599 GB, free: 13.68 MB / 0.5606 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)