Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") [/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.2136/0.2157, allocations: 80.83 MB / 0.5899 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005808/0.2215, allocations: 3.372 MB / 0.5932 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.2253, allocations: 2.296 MB / 0.5954 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.2256, allocations: 11.88 kB / 0.5954 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009962/0.2267, allocations: 270.8 kB / 0.5957 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007423/0.2274, allocations: 235.1 kB / 0.5959 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00099/0.2284, allocations: 263.4 kB / 0.5962 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00055/0.229, allocations: 390.7 kB / 0.5965 GB, free: 140 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004898/0.2295, allocations: 233.6 kB / 0.5968 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.2297, allocations: 155.5 kB / 0.5969 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.2301, allocations: 195.2 kB / 0.5971 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.2301, allocations: 20 kB / 0.5971 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007487/0.2309, allocations: 423.1 kB / 0.5975 GB, free: 15.13 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.231, allocations: 99.77 kB / 0.5976 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.2311, allocations: 139.3 kB / 0.5977 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006975/0.2319, allocations: 0.5335 MB / 0.5983 GB, free: 14.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2319, allocations: 0 / 0.5983 GB, free: 14.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2319, allocations: 0 / 0.5983 GB, free: 14.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.2319, allocations: 0 / 0.5983 GB, free: 14.36 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001137/0.233, allocations: 0.6037 MB / 0.5989 GB, free: 13.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.2331, allocations: 8.031 kB / 0.5989 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009289/0.234, allocations: 120.4 kB / 0.599 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.2344, allocations: 272.2 kB / 0.5992 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2345, allocations: 16.81 kB / 0.5992 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.2345, allocations: 32.09 kB / 0.5993 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/0.2352, allocations: 411.5 kB / 0.5997 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2353, allocations: 0 / 0.5997 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.2353, allocations: 8 kB / 0.5997 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.05e-05/0.2354, allocations: 40.48 kB / 0.5997 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000629/0.236, allocations: 345.9 kB / 0.6 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.2386, allocations: 1.857 MB / 0.6019 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/0.2394, allocations: 345.1 kB / 0.6022 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.2398, allocations: 193.5 kB / 0.6024 GB, free: 9.871 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.24, allocations: 85.09 kB / 0.6025 GB, free: 9.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.24, allocations: 34.56 kB / 0.6025 GB, free: 9.727 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 3.807e-06/0.24, allocations: 7.922 kB / 0.6025 GB, free: 9.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=34): time 0.005256/0.2453, allocations: 1.588 MB / 0.604 GB, free: 8.098 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.2454, allocations: 81.11 kB / 0.6041 GB, free: 8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.2457, allocations: 232.9 kB / 0.6043 GB, free: 7.762 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.2458, allocations: 37.73 kB / 0.6044 GB, free: 7.719 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.2459, allocations: 176.1 kB / 0.6046 GB, free: 7.543 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.246, allocations: 122.3 kB / 0.6047 GB, free: 7.422 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.2462, allocations: 78.05 kB / 0.6047 GB, free: 7.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2463, allocations: 338.8 kB / 0.6051 GB, free: 7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.2467, allocations: 198.5 kB / 0.6053 GB, free: 6.805 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.2472, allocations: 305 kB / 0.6055 GB, free: 6.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008383/0.2481, allocations: 0.524 MB / 0.6061 GB, free: 5.898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2481, allocations: 4 kB / 0.6061 GB, free: 5.895 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001226/0.2493, allocations: 0.6446 MB / 0.6067 GB, free: 5.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2494, allocations: 8 kB / 0.6067 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2494, allocations: 4 kB / 0.6067 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/0.2499, allocations: 147.4 kB / 0.6068 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.2503, allocations: 91.86 kB / 0.6069 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/0.2536, allocations: 4.166 MB / 0.611 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.254, allocations: 35.97 kB / 0.611 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.254, allocations: 19.94 kB / 0.6111 GB, free: 428 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005137/0.2545, allocations: 324.9 kB / 0.6114 GB, free: 100 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004295/0.255, allocations: 305 kB / 0.6117 GB, free: 15.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007812/0.2558, allocations: 0.5036 MB / 0.6121 GB, free: 15.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.943e-06/0.2558, allocations: 0 / 0.6121 GB, free: 15.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001195/0.257, allocations: 0.6448 MB / 0.6128 GB, free: 14.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.257, allocations: 8 kB / 0.6128 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.257, allocations: 4 kB / 0.6128 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003963/0.2574, allocations: 151.4 kB / 0.6129 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.2578, allocations: 91.88 kB / 0.613 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.2612, allocations: 4.174 MB / 0.6171 GB, free: 9.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.2616, allocations: 40.02 kB / 0.6171 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.2617, allocations: 23.94 kB / 0.6172 GB, free: 9.715 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.2619, allocations: 204.1 kB / 0.6174 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.262, allocations: 27.72 kB / 0.6174 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.2632, allocations: 0.6089 MB / 0.618 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2632, allocations: 4 kB / 0.618 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2632, allocations: 0 / 0.618 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2632, allocations: 7.938 kB / 0.618 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.2653, allocations: 1.323 MB / 0.6193 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2653, allocations: 4.25 kB / 0.6193 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.2655, allocations: 63.89 kB / 0.6193 GB, free: 7.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/0.2659, allocations: 155.3 kB / 0.6195 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.266, allocations: 12 kB / 0.6195 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/0.2688, allocations: 4.186 MB / 0.6236 GB, free: 2.641 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2688, allocations: 3.938 kB / 0.6236 GB, free: 2.637 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.27, allocations: 0.7698 MB / 0.6243 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2702, allocations: 140.7 kB / 0.6245 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.2702, allocations: 11.98 kB / 0.6245 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.2705, allocations: 27.97 kB / 0.6245 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.2706, allocations: 31.84 kB / 0.6245 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.2707, allocations: 20 kB / 0.6246 GB, free: 1.566 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.2708, allocations: 176.5 kB / 0.6247 GB, free: 1.398 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2708, allocations: 4 kB / 0.6247 GB, free: 1.395 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007582/0.2716, allocations: 156 kB / 0.6249 GB, free: 1.242 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002148/0.2718, allocations: 135.1 kB / 0.625 GB, free: 1.102 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.2739, allocations: 1.269 MB / 0.6263 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2739, allocations: 0 / 0.6263 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006654/0.2746, allocations: 494.1 kB / 0.6267 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.2752, allocations: 60.38 kB / 0.6268 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.2764, allocations: 0.8831 MB / 0.6276 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.2768, allocations: 0.8084 MB / 0.6284 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003352/0.2771, allocations: 110.9 kB / 0.6285 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.2772, allocations: 31.38 kB / 0.6286 GB, free: 13.31 MB / 494.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2772, allocations: 0 / 0.6286 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Templates: time 0.01019/0.2874, allocations: 6.29 MB / 0.6347 GB, free: 7.098 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)