Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [/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.2519/0.2541, allocations: 80.85 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004935/0.2591, allocations: 2.4 MB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0029/0.2621, allocations: 1.512 MB / 0.6745 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.2623, allocations: 4 kB / 0.6745 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008154/0.2631, allocations: 175.3 kB / 0.6746 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.2635, allocations: 143.4 kB / 0.6748 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.2641, allocations: 183.5 kB / 0.6749 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.2644, allocations: 219.1 kB / 0.6752 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.2648, allocations: 117 kB / 0.6753 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.2649, allocations: 95.61 kB / 0.6754 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.2652, allocations: 95.7 kB / 0.6754 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.2652, allocations: 12 kB / 0.6755 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.2656, allocations: 183.6 kB / 0.6756 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.2657, allocations: 63.81 kB / 0.6757 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.605e-05/0.2658, allocations: 79.59 kB / 0.6758 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.2663, allocations: 282.9 kB / 0.676 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.2663, allocations: 4 kB / 0.676 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2663, allocations: 4 kB / 0.676 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.2663, allocations: 0 / 0.676 GB, free: 12.46 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009341/0.2672, allocations: 470.8 kB / 0.6765 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.2673, allocations: 8.031 kB / 0.6765 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/0.2679, allocations: 60.77 kB / 0.6766 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.2683, allocations: 231.1 kB / 0.6768 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.2683, allocations: 12.66 kB / 0.6768 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.2684, allocations: 16.38 kB / 0.6768 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.2689, allocations: 278.6 kB / 0.6771 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.2689, allocations: 3.938 kB / 0.6771 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.2689, allocations: 8 kB / 0.6771 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-05/0.269, allocations: 16.23 kB / 0.6771 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.2693, allocations: 205.4 kB / 0.6773 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.271, allocations: 1.379 MB / 0.6786 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.2714, allocations: 327.2 kB / 0.679 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2716, allocations: 61.69 kB / 0.679 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2716, allocations: 4 kB / 0.679 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.2716, allocations: 38.62 kB / 0.6791 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.2716, allocations: 0 / 0.6791 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0005963/0.2722, allocations: 249.3 kB / 0.6793 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.2723, allocations: 89.08 kB / 0.6794 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.2725, allocations: 199.4 kB / 0.6796 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.2725, allocations: 25.7 kB / 0.6796 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2727, allocations: 156.1 kB / 0.6797 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.2727, allocations: 39.69 kB / 0.6798 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.2728, allocations: 53.64 kB / 0.6798 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.273, allocations: 322.8 kB / 0.6801 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.2731, allocations: 84.81 kB / 0.6802 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.2733, allocations: 155.7 kB / 0.6804 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.2736, allocations: 238.9 kB / 0.6806 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2736, allocations: 3.938 kB / 0.6806 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004067/0.274, allocations: 253.5 kB / 0.6808 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.2741, allocations: 12.77 kB / 0.6809 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.2741, allocations: 4 kB / 0.6809 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.51e-05/0.2741, allocations: 4 kB / 0.6809 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.2744, allocations: 55.84 kB / 0.6809 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.2744, allocations: 4 kB / 0.6809 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.2745, allocations: 15.94 kB / 0.6809 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.2746, allocations: 12 kB / 0.6809 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001863/0.2748, allocations: 172 kB / 0.6811 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001437/0.2749, allocations: 144.1 kB / 0.6813 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002567/0.2752, allocations: 235.8 kB / 0.6815 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.2752, allocations: 0 / 0.6815 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003307/0.2755, allocations: 237.5 kB / 0.6817 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.2755, allocations: 8 kB / 0.6817 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.2755, allocations: 4 kB / 0.6817 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.2755, allocations: 4 kB / 0.6817 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2757, allocations: 51.91 kB / 0.6818 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.2757, allocations: 7.938 kB / 0.6818 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.2759, allocations: 19.88 kB / 0.6818 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2759, allocations: 12 kB / 0.6818 GB, free: 6.039 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.0001203/0.276, allocations: 196.4 kB / 0.682 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.2761, allocations: 15.91 kB / 0.682 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.2763, allocations: 143 kB / 0.6821 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2763, allocations: 3.938 kB / 0.6821 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2763, allocations: 0 / 0.6821 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2764, allocations: 3.938 kB / 0.6822 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.2774, allocations: 0.7274 MB / 0.6829 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.2774, allocations: 0 / 0.6829 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.2775, allocations: 35.91 kB / 0.6829 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.2775, allocations: 4.344 kB / 0.6829 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2775, allocations: 8 kB / 0.6829 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.2775, allocations: 7.938 kB / 0.6829 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2776, allocations: 0 / 0.6829 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.2779, allocations: 382.3 kB / 0.6833 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.278, allocations: 105 kB / 0.6834 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.2781, allocations: 8 kB / 0.6834 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.2782, allocations: 15.98 kB / 0.6834 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.2783, allocations: 15.88 kB / 0.6834 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.2783, allocations: 4 kB / 0.6834 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001592/0.2785, allocations: 151.7 kB / 0.6836 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2785, allocations: 0 / 0.6836 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005072/0.279, allocations: 68 kB / 0.6836 GB, free: 3.996 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.0001992/0.2792, allocations: 111.2 kB / 0.6837 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004447/0.2797, allocations: 272.9 kB / 0.684 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2797, allocations: 0 / 0.684 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.828e-05/0.2798, allocations: 64.47 kB / 0.6841 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.2803, allocations: 37.91 kB / 0.6841 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.2811, allocations: 422.5 kB / 0.6845 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.2816, allocations: 0.7324 MB / 0.6852 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002759/0.2819, allocations: 85.48 kB / 0.6853 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.2819, allocations: 15.44 kB / 0.6853 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2819, allocations: 0 / 0.6853 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of Templates: time 0.004829/0.2868, allocations: 1.791 MB / 0.6871 GB, free: 420 kB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)