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.2386/0.2407, allocations: 80.83 MB / 0.6706 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005423/0.2461, allocations: 3.18 MB / 0.6737 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.2486, allocations: 1.419 MB / 0.6751 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.2487, allocations: 4 kB / 0.6751 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.2499, allocations: 349.8 kB / 0.6754 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.2503, allocations: 155.2 kB / 0.6756 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.2506, allocations: 147.6 kB / 0.6757 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.251, allocations: 326.9 kB / 0.676 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000549/0.2516, allocations: 247.7 kB / 0.6763 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.2518, allocations: 143.5 kB / 0.6764 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.2521, allocations: 151.4 kB / 0.6766 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.2522, allocations: 20 kB / 0.6766 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.2525, allocations: 179.6 kB / 0.6768 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.2526, allocations: 83.73 kB / 0.6768 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.2527, allocations: 119.5 kB / 0.6769 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.2532, allocations: 350.9 kB / 0.6773 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.2532, allocations: 0 / 0.6773 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2532, allocations: 4 kB / 0.6773 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.2532, allocations: 0 / 0.6773 GB, free: 10.98 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001083/0.2543, allocations: 0.5341 MB / 0.6778 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.2544, allocations: 12.03 kB / 0.6778 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006629/0.255, allocations: 80.58 kB / 0.6779 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.2555, allocations: 256.4 kB / 0.6781 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2555, allocations: 16.81 kB / 0.6782 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.2556, allocations: 20.38 kB / 0.6782 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006076/0.2562, allocations: 320.6 kB / 0.6785 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.2562, allocations: 3.984 kB / 0.6785 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.2562, allocations: 8 kB / 0.6785 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-05/0.2563, allocations: 20.42 kB / 0.6785 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.2567, allocations: 213.5 kB / 0.6787 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.2582, allocations: 1.185 MB / 0.6799 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.2586, allocations: 199.7 kB / 0.6801 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/0.2587, allocations: 52.83 kB / 0.6801 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.2588, allocations: 0 / 0.6801 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.2588, allocations: 30.56 kB / 0.6801 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2588, allocations: 3.938 kB / 0.6801 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0006138/0.2594, allocations: 263.3 kB / 0.6804 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.2595, allocations: 55.41 kB / 0.6805 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.2597, allocations: 211.6 kB / 0.6807 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.2597, allocations: 25.7 kB / 0.6807 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.2599, allocations: 175.7 kB / 0.6808 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.2599, allocations: 35.53 kB / 0.6809 GB, free: 7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.26, allocations: 33.72 kB / 0.6809 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2601, allocations: 334.8 kB / 0.6812 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.825e-05/0.2602, allocations: 39.98 kB / 0.6813 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.2604, allocations: 112.5 kB / 0.6814 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.2606, allocations: 168.4 kB / 0.6815 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2606, allocations: 4 kB / 0.6815 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003651/0.261, allocations: 210 kB / 0.6817 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.261, allocations: 8 kB / 0.6817 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2611, allocations: 0 / 0.6817 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.2613, allocations: 33.12 kB / 0.6818 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.2614, allocations: 35.86 kB / 0.6818 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.2626, allocations: 1.429 MB / 0.6832 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.2627, allocations: 15.84 kB / 0.6832 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2628, allocations: 11.98 kB / 0.6832 GB, free: 4.359 MB / 0.5137 GB 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.0001574/0.2629, allocations: 145.7 kB / 0.6834 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.263, allocations: 15.81 kB / 0.6834 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.263, allocations: 25.48 kB / 0.6834 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.263, allocations: 4 kB / 0.6834 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.263, allocations: 96 / 0.6834 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2631, allocations: 3.938 kB / 0.6834 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.2637, allocations: 495.2 kB / 0.6839 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2637, allocations: 0 / 0.6839 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.2638, allocations: 11.98 kB / 0.6839 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.272e-05/0.2639, allocations: 28.84 kB / 0.6839 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2639, allocations: 4 kB / 0.6839 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.265, allocations: 1.417 MB / 0.6853 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.265, allocations: 0 / 0.6853 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.2653, allocations: 240.1 kB / 0.6856 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.635e-05/0.2654, allocations: 96.91 kB / 0.6856 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2654, allocations: 8.094 kB / 0.6857 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2656, allocations: 8 kB / 0.6857 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.2656, allocations: 7.984 kB / 0.6857 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.2656, allocations: 3.938 kB / 0.6857 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001312/0.2658, allocations: 145.5 kB / 0.6858 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2658, allocations: 0 / 0.6858 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003662/0.2661, allocations: 59.78 kB / 0.6859 GB, free: 1.414 MB / 0.5137 GB 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.0001338/0.2663, allocations: 110 kB / 0.686 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000513/0.2668, allocations: 230.5 kB / 0.6862 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2668, allocations: 0 / 0.6862 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.267, allocations: 159.2 kB / 0.6863 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.2674, allocations: 46.52 kB / 0.6864 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007016/0.2681, allocations: 395.6 kB / 0.6868 GB, free: 448 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.2685, allocations: 0.7515 MB / 0.6875 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.968e-05/0.2686, allocations: 29.52 kB / 0.6875 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.2687, allocations: 15.44 kB / 0.6875 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.2687, allocations: 0 / 0.6875 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.005288/0.274, allocations: 1.96 MB / 0.6895 GB, free: 13.68 MB / 0.5294 GB 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)