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.001744/0.001744, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001991/0.001991, allocations: 195 kB / 16.14 MB, free: 6.715 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 283 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.116/1.116, allocations: 178.6 MB / 0.5068 GB, free: 4.715 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 97.25 kB / 0.6057 GB, free: 25.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1764, allocations: 89.14 MB / 0.6928 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004128/0.1806, allocations: 2.485 MB / 0.6952 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1831, allocations: 1.582 MB / 0.6968 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.1832, allocations: 0 / 0.6968 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007052/0.1839, allocations: 167.5 kB / 0.6969 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.1843, allocations: 139.5 kB / 0.6971 GB, free: 404 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.1847, allocations: 162.3 kB / 0.6972 GB, free: 244 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000347/0.185, allocations: 319.1 kB / 0.6975 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.1853, allocations: 125.2 kB / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1855, allocations: 79.69 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1857, allocations: 107.6 kB / 0.6978 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.1857, allocations: 8 kB / 0.6978 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.1861, allocations: 251.5 kB / 0.6981 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.1862, allocations: 67.86 kB / 0.6981 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.1863, allocations: 75.53 kB / 0.6982 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.1867, allocations: 311.1 kB / 0.6985 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1868, allocations: 0 / 0.6985 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1868, allocations: 0 / 0.6985 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1868, allocations: 0 / 0.6985 GB, free: 14.92 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.0006989/0.1875, allocations: 479.1 kB / 0.699 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1875, allocations: 8.031 kB / 0.699 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007814/0.1883, allocations: 92.62 kB / 0.6991 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1886, allocations: 232 kB / 0.6993 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1886, allocations: 8.656 kB / 0.6993 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.1887, allocations: 12.38 kB / 0.6993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.1892, allocations: 295.5 kB / 0.6996 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1892, allocations: 0 / 0.6996 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.1892, allocations: 11.98 kB / 0.6996 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.1893, allocations: 12.23 kB / 0.6996 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.1897, allocations: 220.4 kB / 0.6998 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.1917, allocations: 1.607 MB / 0.7014 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.1921, allocations: 319.2 kB / 0.7017 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1922, allocations: 69.67 kB / 0.7017 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1923, allocations: 0 / 0.7017 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1923, allocations: 34.56 kB / 0.7018 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.1923, allocations: 4 kB / 0.7018 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0005743/0.1929, allocations: 252.5 kB / 0.702 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.1929, allocations: 77.11 kB / 0.7021 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.1932, allocations: 203.5 kB / 0.7023 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1932, allocations: 29.7 kB / 0.7023 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1933, allocations: 151.6 kB / 0.7025 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.1934, allocations: 39.45 kB / 0.7025 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1935, allocations: 53.88 kB / 0.7026 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1937, allocations: 322.8 kB / 0.7029 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.1939, allocations: 80.81 kB / 0.7029 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.1942, allocations: 161.1 kB / 0.7031 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.1946, allocations: 238.8 kB / 0.7033 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1946, allocations: 0 / 0.7033 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000531/0.1951, allocations: 273.4 kB / 0.7036 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1951, allocations: 12.03 kB / 0.7036 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1951, allocations: 3.984 kB / 0.7036 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1952, allocations: 11.94 kB / 0.7036 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.1954, allocations: 47.91 kB / 0.7037 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.1955, allocations: 4 kB / 0.7037 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.1957, allocations: 23.97 kB / 0.7037 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.1958, allocations: 12 kB / 0.7037 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002237/0.196, allocations: 164.1 kB / 0.7038 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002151/0.1962, allocations: 163.6 kB / 0.704 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003167/0.1965, allocations: 215.8 kB / 0.7042 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.1965, allocations: 0 / 0.7042 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005018/0.1971, allocations: 257 kB / 0.7045 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1971, allocations: 13.23 kB / 0.7045 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1971, allocations: 4 kB / 0.7045 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/0.1971, allocations: 4 kB / 0.7045 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.1973, allocations: 52.36 kB / 0.7045 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1973, allocations: 11.88 kB / 0.7045 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.1976, allocations: 28.09 kB / 0.7046 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.1976, allocations: 8 kB / 0.7046 GB, free: 8.133 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.0001295/0.1977, allocations: 200.1 kB / 0.7048 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.1978, allocations: 15.81 kB / 0.7048 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.1981, allocations: 143.5 kB / 0.7049 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.1981, allocations: 7.938 kB / 0.7049 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1981, allocations: 4 kB / 0.7049 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1981, allocations: 3.938 kB / 0.7049 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1991, allocations: 0.7196 MB / 0.7056 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1992, allocations: 0 / 0.7056 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1993, allocations: 27.92 kB / 0.7057 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1993, allocations: 7.984 kB / 0.7057 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.1993, allocations: 4 kB / 0.7057 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1993, allocations: 7.938 kB / 0.7057 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1993, allocations: 3.938 kB / 0.7057 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1997, allocations: 378.6 kB / 0.706 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/0.1998, allocations: 108.9 kB / 0.7061 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.1998, allocations: 7.938 kB / 0.7062 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2, allocations: 11.98 kB / 0.7062 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.2001, allocations: 15.94 kB / 0.7062 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.2001, allocations: 4 kB / 0.7062 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001905/0.2003, allocations: 160.8 kB / 0.7063 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2003, allocations: 0 / 0.7063 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005483/0.2009, allocations: 72 kB / 0.7064 GB, free: 6.09 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.0001489/0.201, allocations: 115.2 kB / 0.7065 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005412/0.2016, allocations: 277.5 kB / 0.7068 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2016, allocations: 0 / 0.7068 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.419e-05/0.2017, allocations: 64.47 kB / 0.7068 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.2021, allocations: 37 kB / 0.7069 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007491/0.2029, allocations: 486.6 kB / 0.7073 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.2033, allocations: 0.7323 MB / 0.7081 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002529/0.2035, allocations: 77.47 kB / 0.7081 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.2036, allocations: 23.42 kB / 0.7082 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2036, allocations: 0 / 0.7082 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of Templates: time 0.005043/0.2087, allocations: 1.809 MB / 0.7099 GB, free: 2.426 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)