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.1818/0.1838, allocations: 80.84 MB / 0.5899 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005748/0.1896, allocations: 4.284 MB / 0.5941 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003969/0.1936, allocations: 2.522 MB / 0.5965 GB, free: 128 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.1941, allocations: 15.88 kB / 0.5966 GB, free: 112 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.1953, allocations: 350.6 kB / 0.5969 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.1964, allocations: 378.4 kB / 0.5972 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.1972, allocations: 287 kB / 0.5975 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008118/0.198, allocations: 0.675 MB / 0.5982 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.1985, allocations: 290.2 kB / 0.5985 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.1989, allocations: 254.9 kB / 0.5987 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004374/0.1994, allocations: 286.9 kB / 0.599 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.1995, allocations: 28 kB / 0.599 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007403/0.2002, allocations: 431 kB / 0.5994 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.2004, allocations: 143.5 kB / 0.5995 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.2007, allocations: 242.7 kB / 0.5998 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.2021, allocations: 0.7397 MB / 0.6005 GB, free: 12.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2021, allocations: 0 / 0.6005 GB, free: 12.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.849e-06/0.2022, allocations: 3.984 kB / 0.6005 GB, free: 12.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.2022, allocations: 0 / 0.6005 GB, free: 12.05 MB / 462.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.001875/0.2041, allocations: 0.7712 MB / 0.6013 GB, free: 11.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/0.2041, allocations: 8.031 kB / 0.6013 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.2058, allocations: 192.1 kB / 0.6014 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/0.2065, allocations: 408.1 kB / 0.6018 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.2066, allocations: 28.95 kB / 0.6019 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/0.2067, allocations: 32.38 kB / 0.6019 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008291/0.2075, allocations: 0.6421 MB / 0.6025 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.2075, allocations: 4 kB / 0.6025 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.2076, allocations: 12 kB / 0.6025 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.811e-05/0.2077, allocations: 63.75 kB / 0.6026 GB, free: 9.719 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006487/0.2083, allocations: 492 kB / 0.6031 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.2121, allocations: 3.323 MB / 0.6063 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.2138, allocations: 0.6361 MB / 0.6069 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.2141, allocations: 178.5 kB / 0.6071 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.2141, allocations: 7.938 kB / 0.6071 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.2142, allocations: 38.56 kB / 0.6071 GB, free: 4.863 MB / 462.1 MB Notification: Performance of pre-optimization done (n=30): time 3.597e-06/0.2142, allocations: 0 / 0.6071 GB, free: 4.863 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002335/0.2165, allocations: 1.284 MB / 0.6084 GB, free: 3.504 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.2166, allocations: 110.8 kB / 0.6085 GB, free: 3.371 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.2171, allocations: 393.8 kB / 0.6089 GB, free: 2.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.2171, allocations: 37.7 kB / 0.6089 GB, free: 2.938 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.2173, allocations: 283.4 kB / 0.6092 GB, free: 2.656 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.768e-05/0.2174, allocations: 106.5 kB / 0.6093 GB, free: 2.551 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.2175, allocations: 110 kB / 0.6094 GB, free: 2.438 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2177, allocations: 348.5 kB / 0.6097 GB, free: 2.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.218, allocations: 181 kB / 0.6099 GB, free: 1.914 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.2183, allocations: 387.2 kB / 0.6103 GB, free: 1.445 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/0.219, allocations: 0.5907 MB / 0.6108 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.219, allocations: 4 kB / 0.6109 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001024/0.22, allocations: 0.6891 MB / 0.6115 GB, free: 60 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2201, allocations: 8 kB / 0.6115 GB, free: 52 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2201, allocations: 8 kB / 0.6115 GB, free: 44 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.2205, allocations: 98.52 kB / 0.6116 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.2209, allocations: 108.1 kB / 0.6117 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.2241, allocations: 4.356 MB / 0.616 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.2245, allocations: 31.97 kB / 0.616 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.2245, allocations: 24 kB / 0.616 GB, free: 11 MB / 478.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.0002628/0.2248, allocations: 208.7 kB / 0.6162 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2249, allocations: 51.42 kB / 0.6163 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008677/0.2258, allocations: 0.5203 MB / 0.6168 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2258, allocations: 7.938 kB / 0.6168 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2258, allocations: 0 / 0.6168 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2258, allocations: 11.92 kB / 0.6168 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.2275, allocations: 1.295 MB / 0.6181 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2276, allocations: 4 kB / 0.6181 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.2278, allocations: 67.83 kB / 0.6182 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002695/0.2281, allocations: 82.52 kB / 0.6182 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.2281, allocations: 8 kB / 0.6182 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.2312, allocations: 4.352 MB / 0.6225 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2312, allocations: 0 / 0.6225 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2323, allocations: 0.7942 MB / 0.6233 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.2325, allocations: 152.5 kB / 0.6234 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.2325, allocations: 11.91 kB / 0.6234 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.2329, allocations: 27.97 kB / 0.6234 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.2329, allocations: 31.84 kB / 0.6235 GB, free: 2.758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.233, allocations: 16 kB / 0.6235 GB, free: 2.742 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003152/0.2333, allocations: 283.1 kB / 0.6238 GB, free: 2.469 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2333, allocations: 0 / 0.6238 GB, free: 2.469 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007214/0.234, allocations: 120 kB / 0.6239 GB, free: 2.352 MB / 478.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.0001627/0.2342, allocations: 111.1 kB / 0.624 GB, free: 2.234 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.2357, allocations: 0.8369 MB / 0.6248 GB, free: 1.359 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.2357, allocations: 4.312 kB / 0.6248 GB, free: 1.355 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006997/0.2364, allocations: 0.5504 MB / 0.6253 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009347/0.2373, allocations: 125.1 kB / 0.6255 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.239, allocations: 1.086 MB / 0.6265 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.2397, allocations: 0.8625 MB / 0.6274 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003461/0.24, allocations: 116.5 kB / 0.6275 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.2401, allocations: 35.44 kB / 0.6275 GB, free: 14.46 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2401, allocations: 0 / 0.6275 GB, free: 14.46 MB / 494.1 MB Notification: Performance of Templates: time 0.01148/0.2516, allocations: 5.796 MB / 0.6332 GB, free: 8.742 MB / 494.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)