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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001452/0.001452, allocations: 192.8 kB / 16.13 MB, free: 6.645 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.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 281.5 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.143/1.143, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 97.25 kB / 0.6057 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1882, allocations: 89.16 MB / 0.6928 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004464/0.1927, allocations: 2.669 MB / 0.6954 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.1954, allocations: 1.584 MB / 0.697 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1955, allocations: 4 kB / 0.697 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006919/0.1962, allocations: 163.5 kB / 0.6971 GB, free: 396 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.1966, allocations: 139.5 kB / 0.6973 GB, free: 256 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.197, allocations: 163.7 kB / 0.6974 GB, free: 92 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.1974, allocations: 319.1 kB / 0.6977 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.1978, allocations: 117.2 kB / 0.6978 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.198, allocations: 83.7 kB / 0.6979 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.1982, allocations: 107.6 kB / 0.698 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.1983, allocations: 11.94 kB / 0.698 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.1987, allocations: 251.5 kB / 0.6983 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.189e-05/0.1988, allocations: 59.86 kB / 0.6983 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1989, allocations: 79.53 kB / 0.6984 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.1994, allocations: 307.1 kB / 0.6987 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1994, allocations: 0 / 0.6987 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1994, allocations: 0 / 0.6987 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.1994, allocations: 4 kB / 0.6987 GB, free: 14.78 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.0007903/0.2002, allocations: 475.2 kB / 0.6991 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2002, allocations: 11.97 kB / 0.6992 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007835/0.201, allocations: 84.64 kB / 0.6992 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.2013, allocations: 235.9 kB / 0.6995 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2013, allocations: 12.66 kB / 0.6995 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.2014, allocations: 12.38 kB / 0.6995 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.2019, allocations: 299.5 kB / 0.6998 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.202, allocations: 4 kB / 0.6998 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.202, allocations: 4 kB / 0.6998 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/0.2021, allocations: 20.23 kB / 0.6998 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.2025, allocations: 224.4 kB / 0.7 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.2046, allocations: 1.591 MB / 0.7016 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.2051, allocations: 319.3 kB / 0.7019 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.2052, allocations: 69.67 kB / 0.7019 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.2052, allocations: 0 / 0.7019 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.2052, allocations: 34.56 kB / 0.702 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2052, allocations: 0 / 0.702 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0006027/0.2059, allocations: 249 kB / 0.7022 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.2059, allocations: 85.03 kB / 0.7023 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.2062, allocations: 203.6 kB / 0.7025 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.2062, allocations: 29.7 kB / 0.7025 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.2064, allocations: 155.6 kB / 0.7027 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.2064, allocations: 35.45 kB / 0.7027 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-05/0.2065, allocations: 53.69 kB / 0.7027 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2067, allocations: 322.8 kB / 0.703 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.2068, allocations: 80.81 kB / 0.7031 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.2071, allocations: 153.1 kB / 0.7033 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.2075, allocations: 246.8 kB / 0.7035 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2075, allocations: 0 / 0.7035 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005463/0.208, allocations: 273.1 kB / 0.7038 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.2081, allocations: 7.984 kB / 0.7038 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2081, allocations: 4 kB / 0.7038 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.2081, allocations: 15.91 kB / 0.7038 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.2084, allocations: 51.91 kB / 0.7038 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.2084, allocations: 12.38 kB / 0.7039 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.2087, allocations: 27.97 kB / 0.7039 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.2087, allocations: 8 kB / 0.7039 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002507/0.209, allocations: 172 kB / 0.7041 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002094/0.2092, allocations: 155.2 kB / 0.7042 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000319/0.2095, allocations: 223.8 kB / 0.7044 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/0.2095, allocations: 4 kB / 0.7044 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004778/0.21, allocations: 257.3 kB / 0.7047 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.21, allocations: 4 kB / 0.7047 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-06/0.21, allocations: 4 kB / 0.7047 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.21, allocations: 4 kB / 0.7047 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.2103, allocations: 51.91 kB / 0.7047 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2103, allocations: 7.938 kB / 0.7047 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.2105, allocations: 15.98 kB / 0.7047 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.2105, allocations: 12 kB / 0.7048 GB, free: 7.988 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.0001305/0.2107, allocations: 204.2 kB / 0.705 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.2107, allocations: 15.81 kB / 0.705 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.211, allocations: 147 kB / 0.7051 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.211, allocations: 3.938 kB / 0.7051 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.211, allocations: 0 / 0.7051 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.211, allocations: 0 / 0.7051 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009945/0.212, allocations: 0.7197 MB / 0.7058 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.2121, allocations: 8 kB / 0.7058 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.2122, allocations: 28.25 kB / 0.7058 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2122, allocations: 8 kB / 0.7059 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.2122, allocations: 4 kB / 0.7059 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2122, allocations: 4 kB / 0.7059 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.2122, allocations: 4 kB / 0.7059 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.2126, allocations: 382.1 kB / 0.7062 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2127, allocations: 101 kB / 0.7063 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.2128, allocations: 7.938 kB / 0.7063 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.213, allocations: 19.92 kB / 0.7064 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.213, allocations: 15.94 kB / 0.7064 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.213, allocations: 7.984 kB / 0.7064 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001874/0.2132, allocations: 156.8 kB / 0.7065 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2132, allocations: 0 / 0.7065 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005142/0.2137, allocations: 72 kB / 0.7066 GB, free: 5.941 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.0001633/0.2139, allocations: 115.2 kB / 0.7067 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005681/0.2145, allocations: 277.2 kB / 0.707 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2145, allocations: 0 / 0.707 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.161e-05/0.2146, allocations: 59.84 kB / 0.707 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.2151, allocations: 35.91 kB / 0.7071 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007997/0.2159, allocations: 491.6 kB / 0.7075 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.2163, allocations: 0.7324 MB / 0.7082 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002527/0.2166, allocations: 81.45 kB / 0.7083 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.2166, allocations: 19.42 kB / 0.7083 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2166, allocations: 0 / 0.7083 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.00521/0.2218, allocations: 1.818 MB / 0.7101 GB, free: 2.293 MB / 0.4981 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)