Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [/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.2782/0.2808, allocations: 80.84 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005901/0.2868, allocations: 3.233 MB / 0.5928 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.2894, allocations: 1.415 MB / 0.5942 GB, free: 2.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.2896, allocations: 4 kB / 0.5942 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.2907, allocations: 322.9 kB / 0.5945 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.2911, allocations: 143.4 kB / 0.5947 GB, free: 1.977 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.2915, allocations: 131.7 kB / 0.5948 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.292, allocations: 458.7 kB / 0.5952 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.2924, allocations: 172 kB / 0.5954 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.2926, allocations: 127.5 kB / 0.5955 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.2929, allocations: 155.4 kB / 0.5957 GB, free: 0.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.293, allocations: 12 kB / 0.5957 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.2934, allocations: 203.6 kB / 0.5959 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2935, allocations: 79.78 kB / 0.596 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.2937, allocations: 115.4 kB / 0.5961 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.2942, allocations: 358.8 kB / 0.5964 GB, free: 208 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2942, allocations: 0 / 0.5964 GB, free: 208 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2942, allocations: 0 / 0.5964 GB, free: 208 kB / 446.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.2943, allocations: 0 / 0.5964 GB, free: 208 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001279/0.2955, allocations: 0.5453 MB / 0.5969 GB, free: 15.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.2956, allocations: 12.03 kB / 0.5969 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006446/0.2963, allocations: 84.45 kB / 0.597 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.2967, allocations: 244.8 kB / 0.5973 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2967, allocations: 16.81 kB / 0.5973 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.2967, allocations: 20.38 kB / 0.5973 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.2973, allocations: 320.6 kB / 0.5976 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2973, allocations: 0 / 0.5976 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.2974, allocations: 8 kB / 0.5976 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.2974, allocations: 16.42 kB / 0.5976 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.2978, allocations: 217.5 kB / 0.5978 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.2996, allocations: 1.192 MB / 0.599 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005366/0.3002, allocations: 211.6 kB / 0.5992 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3003, allocations: 44.83 kB / 0.5992 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3003, allocations: 4 kB / 0.5992 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.3004, allocations: 34.56 kB / 0.5993 GB, free: 13.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.3004, allocations: 0 / 0.5993 GB, free: 13.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006426/0.301, allocations: 259.3 kB / 0.5995 GB, free: 12.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.3011, allocations: 51.41 kB / 0.5996 GB, free: 12.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.3013, allocations: 205.4 kB / 0.5998 GB, free: 12.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.3014, allocations: 33.7 kB / 0.5998 GB, free: 12.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3015, allocations: 171.6 kB / 0.6 GB, free: 12.26 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.3016, allocations: 31.62 kB / 0.6 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.3016, allocations: 37.62 kB / 0.6 GB, free: 12.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3018, allocations: 330.8 kB / 0.6003 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3019, allocations: 43.97 kB / 0.6004 GB, free: 11.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.3021, allocations: 116.5 kB / 0.6005 GB, free: 11.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.3024, allocations: 168.4 kB / 0.6007 GB, free: 11.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3024, allocations: 0 / 0.6007 GB, free: 11.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000428/0.3029, allocations: 210 kB / 0.6009 GB, free: 11.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.3029, allocations: 8 kB / 0.6009 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.303, allocations: 4 kB / 0.6009 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.3032, allocations: 25.12 kB / 0.6009 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.3033, allocations: 39.86 kB / 0.6009 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.3046, allocations: 1.327 MB / 0.6022 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.3047, allocations: 23.88 kB / 0.6023 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.3048, allocations: 12.06 kB / 0.6023 GB, free: 9.684 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.3049, allocations: 142.9 kB / 0.6024 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.305, allocations: 19.75 kB / 0.6024 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.305, allocations: 21.39 kB / 0.6024 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.305, allocations: 3.938 kB / 0.6024 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.305, allocations: 4 kB / 0.6024 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.305, allocations: 4 kB / 0.6025 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.3057, allocations: 487.5 kB / 0.6029 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3057, allocations: 0 / 0.6029 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.3058, allocations: 15.94 kB / 0.6029 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.819e-05/0.3059, allocations: 20.84 kB / 0.603 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3059, allocations: 4 kB / 0.603 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.3071, allocations: 1.323 MB / 0.6042 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3071, allocations: 4.141 kB / 0.6043 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.3074, allocations: 236.2 kB / 0.6045 GB, free: 7.195 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.3075, allocations: 100.8 kB / 0.6046 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3076, allocations: 4 kB / 0.6046 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3077, allocations: 8 kB / 0.6046 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.3078, allocations: 3.984 kB / 0.6046 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3078, allocations: 8 kB / 0.6046 GB, free: 7.055 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.3079, allocations: 144.3 kB / 0.6047 GB, free: 6.914 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.754e-06/0.3079, allocations: 3.938 kB / 0.6047 GB, free: 6.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.3083, allocations: 59.78 kB / 0.6048 GB, free: 6.852 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001721/0.3085, allocations: 105.2 kB / 0.6049 GB, free: 6.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.309, allocations: 234.6 kB / 0.6051 GB, free: 6.504 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.309, allocations: 0 / 0.6051 GB, free: 6.504 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.3092, allocations: 158.7 kB / 0.6053 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.3097, allocations: 31.98 kB / 0.6053 GB, free: 6.305 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/0.3105, allocations: 486.8 kB / 0.6058 GB, free: 5.805 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.311, allocations: 0.7554 MB / 0.6065 GB, free: 5.023 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.3111, allocations: 33.52 kB / 0.6065 GB, free: 4.988 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.3111, allocations: 15.44 kB / 0.6065 GB, free: 4.973 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3111, allocations: 0 / 0.6065 GB, free: 4.973 MB / 462.1 MB Notification: Performance of Templates: time 0.005484/0.3166, allocations: 1.829 MB / 0.6083 GB, free: 3.168 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)