Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002016/0.002016, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.459/1.459, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002563/0.002563, allocations: 274.4 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.104/1.104, allocations: 178.6 MB / 0.5069 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002816/0.002816, allocations: 97.25 kB / 0.6059 GB, free: 24.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1707, allocations: 89.15 MB / 0.693 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004315/0.175, allocations: 2.477 MB / 0.6954 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.1778, allocations: 1.556 MB / 0.6969 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.178, allocations: 4 kB / 0.6969 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007002/0.1787, allocations: 164.1 kB / 0.6971 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.1791, allocations: 151.5 kB / 0.6972 GB, free: 392 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.1796, allocations: 163.7 kB / 0.6974 GB, free: 228 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.1799, allocations: 219.3 kB / 0.6976 GB, free: 8 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003868/0.1803, allocations: 141.2 kB / 0.6977 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1805, allocations: 83.69 kB / 0.6978 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.1808, allocations: 119.5 kB / 0.6979 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.1808, allocations: 12 kB / 0.6979 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.1812, allocations: 207.7 kB / 0.6981 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.686e-05/0.1813, allocations: 59.88 kB / 0.6982 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.927e-05/0.1814, allocations: 87.58 kB / 0.6983 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.1818, allocations: 307.1 kB / 0.6986 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1818, allocations: 4 kB / 0.6986 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1818, allocations: 3.938 kB / 0.6986 GB, free: 15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1818, allocations: 0 / 0.6986 GB, free: 15 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007783/0.1826, allocations: 483 kB / 0.699 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1827, allocations: 12.03 kB / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/0.1835, allocations: 88.64 kB / 0.6991 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.1838, allocations: 231.9 kB / 0.6994 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1838, allocations: 12.66 kB / 0.6994 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.1838, allocations: 12.38 kB / 0.6994 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.1844, allocations: 295.5 kB / 0.6997 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1845, allocations: 0 / 0.6997 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.1845, allocations: 4 kB / 0.6997 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.1845, allocations: 20.22 kB / 0.6997 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004752/0.185, allocations: 220.4 kB / 0.6999 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.1871, allocations: 1.603 MB / 0.7015 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.1876, allocations: 319.3 kB / 0.7018 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1877, allocations: 65.67 kB / 0.7018 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1877, allocations: 4 kB / 0.7018 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1878, allocations: 30.56 kB / 0.7019 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1878, allocations: 4 kB / 0.7019 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0006161/0.1884, allocations: 252.4 kB / 0.7021 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.1885, allocations: 77.11 kB / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.1887, allocations: 199.5 kB / 0.7024 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1888, allocations: 29.7 kB / 0.7024 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1889, allocations: 159.8 kB / 0.7025 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.1889, allocations: 35.45 kB / 0.7026 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.499e-05/0.189, allocations: 57.88 kB / 0.7026 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1892, allocations: 322.8 kB / 0.7029 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.1894, allocations: 80.81 kB / 0.703 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.1896, allocations: 153.1 kB / 0.7032 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.19, allocations: 243 kB / 0.7034 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.19, allocations: 4 kB / 0.7034 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005458/0.1906, allocations: 273.4 kB / 0.7037 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1906, allocations: 8.031 kB / 0.7037 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1906, allocations: 4 kB / 0.7037 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.1907, allocations: 7.938 kB / 0.7037 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.1909, allocations: 55.89 kB / 0.7037 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.191, allocations: 4 kB / 0.7037 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.1912, allocations: 23.97 kB / 0.7038 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.1913, allocations: 8 kB / 0.7038 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002548/0.1915, allocations: 172.1 kB / 0.7039 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002379/0.1918, allocations: 159.4 kB / 0.7041 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003191/0.1921, allocations: 219.8 kB / 0.7043 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.1921, allocations: 7.938 kB / 0.7043 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005037/0.1926, allocations: 253.1 kB / 0.7045 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1926, allocations: 9.406 kB / 0.7046 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.1927, allocations: 0 / 0.7046 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1927, allocations: 11.98 kB / 0.7046 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.1929, allocations: 52.31 kB / 0.7046 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.1929, allocations: 11.88 kB / 0.7046 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.1932, allocations: 19.98 kB / 0.7046 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.1932, allocations: 8 kB / 0.7047 GB, free: 8.211 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.1933, allocations: 196.1 kB / 0.7048 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.1934, allocations: 19.8 kB / 0.7049 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.1937, allocations: 139.5 kB / 0.705 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1937, allocations: 7.938 kB / 0.705 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1937, allocations: 0 / 0.705 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1937, allocations: 0 / 0.705 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.1948, allocations: 0.7235 MB / 0.7057 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.1948, allocations: 7.984 kB / 0.7057 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1949, allocations: 27.92 kB / 0.7057 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1949, allocations: 0 / 0.7057 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1949, allocations: 4 kB / 0.7057 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.1949, allocations: 7.984 kB / 0.7058 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.195, allocations: 7.938 kB / 0.7058 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.1953, allocations: 382.6 kB / 0.7061 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.501e-05/0.1954, allocations: 104.9 kB / 0.7062 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.1955, allocations: 11.92 kB / 0.7062 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.1957, allocations: 7.984 kB / 0.7062 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.1957, allocations: 19.94 kB / 0.7063 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1957, allocations: 8 kB / 0.7063 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002036/0.196, allocations: 160.8 kB / 0.7064 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.196, allocations: 0 / 0.7064 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005389/0.1965, allocations: 68 kB / 0.7065 GB, free: 6.168 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.1967, allocations: 111.2 kB / 0.7066 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000578/0.1973, allocations: 285 kB / 0.7069 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1973, allocations: 3.938 kB / 0.7069 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.223e-05/0.1974, allocations: 60.47 kB / 0.7069 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.1979, allocations: 39.84 kB / 0.707 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008054/0.1987, allocations: 482.7 kB / 0.7074 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.1991, allocations: 0.7401 MB / 0.7081 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002558/0.1994, allocations: 77.47 kB / 0.7082 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.1994, allocations: 19.42 kB / 0.7082 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1994, allocations: 0 / 0.7082 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of Templates: time 0.005281/0.2047, allocations: 1.87 MB / 0.7101 GB, free: 2.438 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)