Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4101/0.4123, allocations: 80.81 MB / 0.5904 GB, free: 22.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005411/0.4178, allocations: 4.245 MB / 0.5946 GB, free: 18.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.4211, allocations: 2.548 MB / 0.5971 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.4214, allocations: 15.88 kB / 0.5971 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009683/0.4224, allocations: 374.3 kB / 0.5974 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006647/0.4231, allocations: 402.1 kB / 0.5978 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.4237, allocations: 314.4 kB / 0.5981 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.4242, allocations: 0.6672 MB / 0.5988 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.4245, allocations: 271.9 kB / 0.599 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.4248, allocations: 247 kB / 0.5993 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.4251, allocations: 282.8 kB / 0.5995 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.4252, allocations: 28 kB / 0.5996 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005166/0.4257, allocations: 435 kB / 0.6 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.4258, allocations: 135.6 kB / 0.6001 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.426, allocations: 234.7 kB / 0.6003 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.4265, allocations: 0.7087 MB / 0.601 GB, free: 11.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4266, allocations: 3.938 kB / 0.601 GB, free: 11.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4266, allocations: 3.938 kB / 0.601 GB, free: 11.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4266, allocations: 0 / 0.601 GB, free: 11.89 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009066/0.4275, allocations: 0.7712 MB / 0.6018 GB, free: 11.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4275, allocations: 12.03 kB / 0.6018 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.4288, allocations: 184.1 kB / 0.602 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.4293, allocations: 400.2 kB / 0.6023 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4293, allocations: 21.03 kB / 0.6024 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.4294, allocations: 36.3 kB / 0.6024 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/0.43, allocations: 0.6451 MB / 0.603 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.43, allocations: 7.844 kB / 0.603 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.4301, allocations: 16 kB / 0.6031 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.444e-05/0.4301, allocations: 55.83 kB / 0.6031 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.4307, allocations: 0.4915 MB / 0.6036 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.4328, allocations: 3.323 MB / 0.6068 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.4343, allocations: 0.6483 MB / 0.6075 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.4345, allocations: 178.5 kB / 0.6076 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.4345, allocations: 4 kB / 0.6076 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.4345, allocations: 38.5 kB / 0.6077 GB, free: 4.703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.335e-06/0.4345, allocations: 0 / 0.6077 GB, free: 4.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.00186/0.4364, allocations: 1.285 MB / 0.6089 GB, free: 3.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.4364, allocations: 106.8 kB / 0.609 GB, free: 3.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.4367, allocations: 397.8 kB / 0.6094 GB, free: 2.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4368, allocations: 33.7 kB / 0.6094 GB, free: 2.781 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4369, allocations: 275.7 kB / 0.6097 GB, free: 2.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.437, allocations: 118.4 kB / 0.6098 GB, free: 2.391 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.4371, allocations: 106 kB / 0.6099 GB, free: 2.281 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.4372, allocations: 354.8 kB / 0.6103 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.4374, allocations: 185 kB / 0.6104 GB, free: 1.746 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.4376, allocations: 379.3 kB / 0.6108 GB, free: 1.281 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.4381, allocations: 0.5975 MB / 0.6114 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4382, allocations: 4 kB / 0.6114 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008811/0.439, allocations: 0.6854 MB / 0.6121 GB, free: 15.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4391, allocations: 8 kB / 0.6121 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4391, allocations: 8 kB / 0.6121 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.4394, allocations: 90.52 kB / 0.6122 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.4398, allocations: 111.8 kB / 0.6123 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.4433, allocations: 4.356 MB / 0.6165 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.4436, allocations: 27.97 kB / 0.6165 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.4437, allocations: 24 kB / 0.6166 GB, free: 10.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002647/0.444, allocations: 210.1 kB / 0.6168 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.4441, allocations: 51.42 kB / 0.6168 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008766/0.4449, allocations: 0.5257 MB / 0.6173 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.445, allocations: 7.938 kB / 0.6173 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.445, allocations: 0 / 0.6173 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.445, allocations: 0 / 0.6173 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.4467, allocations: 1.299 MB / 0.6186 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4467, allocations: 0 / 0.6186 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.447, allocations: 71.78 kB / 0.6187 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.4472, allocations: 86.5 kB / 0.6188 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.4473, allocations: 8.281 kB / 0.6188 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/0.4506, allocations: 4.34 MB / 0.623 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4506, allocations: 7.969 kB / 0.623 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009133/0.4515, allocations: 0.8019 MB / 0.6238 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.4517, allocations: 152.5 kB / 0.6239 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.4518, allocations: 8 kB / 0.6239 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.4521, allocations: 27.97 kB / 0.624 GB, free: 2.629 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.4522, allocations: 31.84 kB / 0.624 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.4522, allocations: 12 kB / 0.624 GB, free: 2.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000281/0.4525, allocations: 283.1 kB / 0.6243 GB, free: 2.312 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4525, allocations: 0 / 0.6243 GB, free: 2.312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006586/0.4531, allocations: 120 kB / 0.6244 GB, free: 2.195 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.4533, allocations: 115.2 kB / 0.6245 GB, free: 2.074 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.4546, allocations: 0.8289 MB / 0.6253 GB, free: 1.207 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4546, allocations: 4 kB / 0.6253 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007136/0.4553, allocations: 0.5469 MB / 0.6259 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009155/0.4562, allocations: 138.9 kB / 0.626 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.4577, allocations: 0.9245 MB / 0.6269 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.4582, allocations: 0.8625 MB / 0.6277 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002927/0.4586, allocations: 112.5 kB / 0.6278 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.414e-05/0.4586, allocations: 39.42 kB / 0.6279 GB, free: 14.47 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4587, allocations: 0 / 0.6279 GB, free: 14.47 MB / 478.1 MB Notification: Performance of Templates: time 0.011/0.4697, allocations: 5.759 MB / 0.6335 GB, free: 8.777 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)