Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") [/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.1832/0.1852, allocations: 80.84 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006312/0.1916, allocations: 4.129 MB / 0.6747 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005241/0.1969, allocations: 2.93 MB / 0.6775 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004987/0.1974, allocations: 11.94 kB / 0.6775 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.1989, allocations: 362.3 kB / 0.6779 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.2004, allocations: 454 kB / 0.6783 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.2019, allocations: 0.5023 MB / 0.6788 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.203, allocations: 0.6813 MB / 0.6795 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006715/0.2037, allocations: 335.1 kB / 0.6798 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005712/0.2043, allocations: 271 kB / 0.68 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008282/0.2051, allocations: 366.8 kB / 0.6804 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.2052, allocations: 36 kB / 0.6804 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/0.2059, allocations: 311.3 kB / 0.6807 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.2061, allocations: 187.5 kB / 0.6809 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.2065, allocations: 238.7 kB / 0.6811 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009389/0.2074, allocations: 0.7125 MB / 0.6818 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2074, allocations: 3.938 kB / 0.6818 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2074, allocations: 4 kB / 0.6818 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.2074, allocations: 0 / 0.6818 GB, free: 6.492 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001652/0.2091, allocations: 0.7913 MB / 0.6826 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2092, allocations: 8.031 kB / 0.6826 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/0.2101, allocations: 144.1 kB / 0.6828 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006426/0.2107, allocations: 371.1 kB / 0.6831 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.2108, allocations: 33.36 kB / 0.6831 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.2109, allocations: 48.2 kB / 0.6832 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.2121, allocations: 0.8176 MB / 0.684 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.2122, allocations: 11.94 kB / 0.684 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.2122, allocations: 12 kB / 0.684 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.613e-05/0.2123, allocations: 64.61 kB / 0.6841 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.2135, allocations: 0.6346 MB / 0.6847 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004623/0.2181, allocations: 4.094 MB / 0.6887 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2192, allocations: 0.4969 MB / 0.6892 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.2197, allocations: 273.5 kB / 0.6894 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.2197, allocations: 15.98 kB / 0.6895 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2198, allocations: 30.56 kB / 0.6895 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.2198, allocations: 0 / 0.6895 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.001833/0.2216, allocations: 0.8657 MB / 0.6903 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.2217, allocations: 81.11 kB / 0.6904 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.222, allocations: 365.5 kB / 0.6908 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.2221, allocations: 33.7 kB / 0.6908 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.2223, allocations: 283.1 kB / 0.6911 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.2224, allocations: 118.3 kB / 0.6912 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.2226, allocations: 118 kB / 0.6913 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2227, allocations: 350.8 kB / 0.6916 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.2233, allocations: 258.9 kB / 0.6919 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.2239, allocations: 478.5 kB / 0.6923 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.2251, allocations: 0.7499 MB / 0.693 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.2251, allocations: 7.938 kB / 0.6931 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001384/0.2265, allocations: 0.7701 MB / 0.6938 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2265, allocations: 8 kB / 0.6938 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2265, allocations: 7.984 kB / 0.6938 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.2265, allocations: 12 kB / 0.6938 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.2272, allocations: 159.7 kB / 0.694 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.2272, allocations: 11.98 kB / 0.694 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.2277, allocations: 68 kB / 0.6941 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.2278, allocations: 35.98 kB / 0.6941 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005877/0.2284, allocations: 349 kB / 0.6944 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005621/0.2289, allocations: 445.2 kB / 0.6949 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000961/0.2299, allocations: 0.6646 MB / 0.6955 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.01e-06/0.2299, allocations: 4 kB / 0.6955 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001136/0.2311, allocations: 0.6628 MB / 0.6962 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2311, allocations: 8.156 kB / 0.6962 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2311, allocations: 12 kB / 0.6962 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2311, allocations: 12 kB / 0.6962 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.2316, allocations: 143.7 kB / 0.6963 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.2317, allocations: 23.86 kB / 0.6963 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.232, allocations: 51.72 kB / 0.6964 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.2321, allocations: 31.98 kB / 0.6964 GB, free: 6.586 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0001841/0.2323, allocations: 224 kB / 0.6966 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.2325, allocations: 39.53 kB / 0.6967 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.2336, allocations: 0.565 MB / 0.6972 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.2336, allocations: 7.984 kB / 0.6972 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2336, allocations: 0 / 0.6972 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2336, allocations: 3.984 kB / 0.6972 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.2363, allocations: 1.605 MB / 0.6988 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.2363, allocations: 4 kB / 0.6988 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.2369, allocations: 112.3 kB / 0.6989 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.2369, allocations: 12 kB / 0.6989 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.2369, allocations: 12 kB / 0.6989 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.2369, allocations: 4 kB / 0.6989 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.2369, allocations: 7.938 kB / 0.699 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.2382, allocations: 0.7913 MB / 0.6997 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.2385, allocations: 168.5 kB / 0.6999 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.2385, allocations: 11.91 kB / 0.6999 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.2389, allocations: 43.94 kB / 0.6999 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.239, allocations: 39.84 kB / 0.7 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.2391, allocations: 12 kB / 0.7 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002849/0.2394, allocations: 259.1 kB / 0.7002 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2394, allocations: 0 / 0.7002 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008943/0.2403, allocations: 188 kB / 0.7004 GB, free: 2.312 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.0001796/0.2405, allocations: 111.1 kB / 0.7005 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.2422, allocations: 0.913 MB / 0.7014 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2423, allocations: 4 kB / 0.7014 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.2428, allocations: 279.6 kB / 0.7017 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.2437, allocations: 126.5 kB / 0.7018 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.2463, allocations: 1.182 MB / 0.703 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.2469, allocations: 0.8671 MB / 0.7038 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005529/0.2474, allocations: 204 kB / 0.704 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.2476, allocations: 35.44 kB / 0.704 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.2476, allocations: 0 / 0.704 GB, free: 14.5 MB / 0.545 GB Notification: Performance of Templates: time 0.01228/0.2599, allocations: 6.291 MB / 0.7102 GB, free: 8.246 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)