Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 103.8 kB / 16.35 MB, free: 6.285 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.001156/0.001156, allocations: 193.7 kB / 17.29 MB, free: 5.863 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 290 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.941/0.941, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 95.09 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1759, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003793/0.1797, allocations: 2.608 MB / 0.6841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1817, allocations: 1.418 MB / 0.6855 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.701e-05/0.1818, allocations: 3.938 kB / 0.6855 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006593/0.1825, allocations: 179.3 kB / 0.6857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.1828, allocations: 127.5 kB / 0.6858 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.1832, allocations: 187.5 kB / 0.686 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.1834, allocations: 215.3 kB / 0.6862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.1837, allocations: 132.9 kB / 0.6863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1838, allocations: 83.69 kB / 0.6864 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1841, allocations: 103.6 kB / 0.6865 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1841, allocations: 12 kB / 0.6865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.1844, allocations: 187.6 kB / 0.6867 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.1845, allocations: 67.86 kB / 0.6868 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/0.1845, allocations: 75.59 kB / 0.6868 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.1849, allocations: 283.1 kB / 0.6871 GB, free: 1.766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1849, allocations: 4 kB / 0.6871 GB, free: 1.762 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1849, allocations: 0 / 0.6871 GB, free: 1.762 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.1849, allocations: 0 / 0.6871 GB, free: 1.762 MB / 494.1 MB 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.0006047/0.1855, allocations: 479.1 kB / 0.6876 GB, free: 1.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1856, allocations: 8.031 kB / 0.6876 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005008/0.1861, allocations: 68.67 kB / 0.6877 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.1863, allocations: 230.9 kB / 0.6879 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1864, allocations: 12.64 kB / 0.6879 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.1864, allocations: 12.38 kB / 0.6879 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.1868, allocations: 283.6 kB / 0.6882 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1868, allocations: 0 / 0.6882 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.1868, allocations: 8 kB / 0.6882 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.1869, allocations: 12.23 kB / 0.6882 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.1872, allocations: 209.1 kB / 0.6884 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2942/0.4814, allocations: 1.57 MB / 0.6899 GB, free: 17.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.4818, allocations: 321.1 kB / 0.6902 GB, free: 17.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.482, allocations: 71.94 kB / 0.6903 GB, free: 17.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.482, allocations: 6.406 kB / 0.6903 GB, free: 17.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.482, allocations: 34.47 kB / 0.6903 GB, free: 17.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.482, allocations: 1.062 kB / 0.6903 GB, free: 17.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005604/0.4826, allocations: 238.3 kB / 0.6906 GB, free: 17.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.4826, allocations: 80.55 kB / 0.6906 GB, free: 17.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.4828, allocations: 204.3 kB / 0.6908 GB, free: 17.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.4828, allocations: 25.7 kB / 0.6909 GB, free: 17.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.4829, allocations: 152.1 kB / 0.691 GB, free: 16.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.4829, allocations: 45.73 kB / 0.691 GB, free: 16.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.483, allocations: 45.28 kB / 0.6911 GB, free: 16.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.4831, allocations: 324 kB / 0.6914 GB, free: 16.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.4832, allocations: 75.84 kB / 0.6915 GB, free: 16.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.4833, allocations: 151.3 kB / 0.6916 GB, free: 16.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.4836, allocations: 234.1 kB / 0.6918 GB, free: 16.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.4836, allocations: 0.8125 kB / 0.6918 GB, free: 16.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003987/0.484, allocations: 263.9 kB / 0.6921 GB, free: 16.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.484, allocations: 12.97 kB / 0.6921 GB, free: 16.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.484, allocations: 3.062 kB / 0.6921 GB, free: 16.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4841, allocations: 7.125 kB / 0.6921 GB, free: 16.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.4843, allocations: 52.47 kB / 0.6922 GB, free: 16.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4843, allocations: 9.391 kB / 0.6922 GB, free: 16.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.4845, allocations: 16.33 kB / 0.6922 GB, free: 16.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.4845, allocations: 13.97 kB / 0.6922 GB, free: 16.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001555/0.4847, allocations: 161.8 kB / 0.6924 GB, free: 16.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001169/0.4848, allocations: 146.4 kB / 0.6925 GB, free: 15.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000206/0.485, allocations: 213.6 kB / 0.6927 GB, free: 15.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.485, allocations: 1.594 kB / 0.6927 GB, free: 15.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003287/0.4854, allocations: 246.2 kB / 0.6929 GB, free: 15.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.4854, allocations: 6.25 kB / 0.6929 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4854, allocations: 6.734 kB / 0.6929 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.4854, allocations: 8.156 kB / 0.693 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.4856, allocations: 50.69 kB / 0.693 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4856, allocations: 4.797 kB / 0.693 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.4857, allocations: 9.719 kB / 0.693 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.4857, allocations: 17.19 kB / 0.693 GB, free: 15.61 MB / 494.1 MB 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 6.271e-05/0.4858, allocations: 189.3 kB / 0.6932 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.4859, allocations: 16.02 kB / 0.6932 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.4861, allocations: 148 kB / 0.6934 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.4861, allocations: 2.031 kB / 0.6934 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.4861, allocations: 1.328 kB / 0.6934 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4862, allocations: 2.469 kB / 0.6934 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008387/0.487, allocations: 0.7215 MB / 0.6941 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.487, allocations: 6.062 kB / 0.6941 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.4871, allocations: 26.5 kB / 0.6941 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4871, allocations: 7.156 kB / 0.6941 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.4872, allocations: 12.58 kB / 0.6941 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4872, allocations: 3.188 kB / 0.6941 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4872, allocations: 7.406 kB / 0.6941 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.4874, allocations: 368.5 kB / 0.6945 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.4875, allocations: 109.5 kB / 0.6946 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.4875, allocations: 11.23 kB / 0.6946 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.4877, allocations: 15.16 kB / 0.6946 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.4877, allocations: 13.03 kB / 0.6946 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.4878, allocations: 5 kB / 0.6946 GB, free: 14.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.4879, allocations: 150.8 kB / 0.6948 GB, free: 14.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4879, allocations: 0 / 0.6948 GB, free: 14.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000499/0.4884, allocations: 67.69 kB / 0.6948 GB, free: 14.23 MB / 494.1 MB 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.0001172/0.4885, allocations: 116 kB / 0.695 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.4889, allocations: 272.2 kB / 0.6952 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4889, allocations: 0 / 0.6952 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.489, allocations: 64.09 kB / 0.6953 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.4895, allocations: 40.31 kB / 0.6953 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.4902, allocations: 424.7 kB / 0.6957 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.4904, allocations: 0.7335 MB / 0.6964 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.4906, allocations: 74.48 kB / 0.6965 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.4906, allocations: 16.89 kB / 0.6965 GB, free: 13.01 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4906, allocations: 4 kB / 0.6965 GB, free: 13.01 MB / 494.1 MB Notification: Performance of Templates: time 0.004892/0.4955, allocations: 1.745 MB / 0.6982 GB, free: 12.91 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)