Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [/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.5021/0.5045, allocations: 80.81 MB / 0.5904 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005123/0.5097, allocations: 4.037 MB / 0.5944 GB, free: 18.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.512, allocations: 1.694 MB / 0.596 GB, free: 17.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.5123, allocations: 11.94 kB / 0.596 GB, free: 17.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.5137, allocations: 0.5898 MB / 0.5966 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006322/0.5144, allocations: 252.4 kB / 0.5968 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.5149, allocations: 215.4 kB / 0.597 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.5154, allocations: 0.5375 MB / 0.5976 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006345/0.516, allocations: 473.6 kB / 0.598 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.5163, allocations: 231.2 kB / 0.5982 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.5166, allocations: 255.2 kB / 0.5985 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.5167, allocations: 36 kB / 0.5985 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.517, allocations: 167.7 kB / 0.5987 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.5172, allocations: 147.6 kB / 0.5988 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.5173, allocations: 187.1 kB / 0.599 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.5178, allocations: 0.5178 MB / 0.5995 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5179, allocations: 0 / 0.5995 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5179, allocations: 4 kB / 0.5995 GB, free: 13.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.5179, allocations: 0 / 0.5995 GB, free: 13.62 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001237/0.5191, allocations: 0.6787 MB / 0.6002 GB, free: 12.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.5192, allocations: 8.031 kB / 0.6002 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007431/0.5199, allocations: 108.5 kB / 0.6003 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.5203, allocations: 299.6 kB / 0.6006 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.5204, allocations: 55.25 kB / 0.6006 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.5204, allocations: 36.38 kB / 0.6007 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.5211, allocations: 0.5048 MB / 0.6011 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5211, allocations: 3.938 kB / 0.6011 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.5212, allocations: 12 kB / 0.6012 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.505e-05/0.5212, allocations: 32.98 kB / 0.6012 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.5218, allocations: 375.7 kB / 0.6015 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.5236, allocations: 1.652 MB / 0.6032 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.5243, allocations: 262.7 kB / 0.6034 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.5246, allocations: 156.7 kB / 0.6036 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.5247, allocations: 3.938 kB / 0.6036 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.5247, allocations: 38.56 kB / 0.6036 GB, free: 9.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.854e-06/0.5247, allocations: 4 kB / 0.6036 GB, free: 9.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001319/0.526, allocations: 0.5683 MB / 0.6042 GB, free: 8.559 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.5261, allocations: 55.41 kB / 0.6042 GB, free: 8.492 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.5262, allocations: 221 kB / 0.6044 GB, free: 8.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.5263, allocations: 29.7 kB / 0.6045 GB, free: 8.234 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.5264, allocations: 223.5 kB / 0.6047 GB, free: 8.012 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.5264, allocations: 59.11 kB / 0.6047 GB, free: 7.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.376e-05/0.5265, allocations: 61.55 kB / 0.6048 GB, free: 7.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.5266, allocations: 330.8 kB / 0.6051 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.5267, allocations: 100.8 kB / 0.6052 GB, free: 7.453 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.527, allocations: 183 kB / 0.6054 GB, free: 7.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.5273, allocations: 273.5 kB / 0.6056 GB, free: 6.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5274, allocations: 0 / 0.6056 GB, free: 6.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007283/0.5281, allocations: 378.9 kB / 0.606 GB, free: 6.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5281, allocations: 8.062 kB / 0.606 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5281, allocations: 4 kB / 0.606 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004776/0.5286, allocations: 105.6 kB / 0.6061 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.5288, allocations: 47.91 kB / 0.6061 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.5313, allocations: 3.051 MB / 0.6091 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.5315, allocations: 35.67 kB / 0.6092 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.5316, allocations: 8 kB / 0.6092 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002987/0.5319, allocations: 220 kB / 0.6094 GB, free: 2.797 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002018/0.5321, allocations: 184 kB / 0.6096 GB, free: 2.578 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003773/0.5325, allocations: 261.3 kB / 0.6098 GB, free: 2.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.5325, allocations: 8 kB / 0.6098 GB, free: 2.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0006643/0.5332, allocations: 345.2 kB / 0.6101 GB, free: 1.938 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.5332, allocations: 8.25 kB / 0.6101 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.5332, allocations: 11.94 kB / 0.6102 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.5335, allocations: 84.77 kB / 0.6102 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.5337, allocations: 55.91 kB / 0.6103 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.5352, allocations: 1.606 MB / 0.6119 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.5355, allocations: 31.73 kB / 0.6119 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.5355, allocations: 15.98 kB / 0.6119 GB, free: 15.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.5357, allocations: 200.6 kB / 0.6121 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.5358, allocations: 23.81 kB / 0.6121 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-05/0.5359, allocations: 30.19 kB / 0.6122 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5359, allocations: 4 kB / 0.6122 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5359, allocations: 0 / 0.6122 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.5359, allocations: 7.922 kB / 0.6122 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.5372, allocations: 0.763 MB / 0.6129 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5373, allocations: 144 / 0.6129 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.5374, allocations: 39.91 kB / 0.6129 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003842/0.5378, allocations: 105.7 kB / 0.613 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.5378, allocations: 4 kB / 0.6131 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/0.5408, allocations: 3.031 MB / 0.616 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5408, allocations: 0 / 0.616 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007769/0.5416, allocations: 415.7 kB / 0.6164 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.5418, allocations: 116.8 kB / 0.6165 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.5418, allocations: 8 kB / 0.6165 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.542, allocations: 7.984 kB / 0.6165 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.542, allocations: 23.97 kB / 0.6166 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5421, allocations: 4 kB / 0.6166 GB, free: 10.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.5422, allocations: 160.5 kB / 0.6167 GB, free: 10.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5422, allocations: 4 kB / 0.6167 GB, free: 10.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007538/0.543, allocations: 167.3 kB / 0.6169 GB, free: 10.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.5432, allocations: 108.3 kB / 0.617 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.5452, allocations: 0.7725 MB / 0.6177 GB, free: 9.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5452, allocations: 3.938 kB / 0.6177 GB, free: 9.566 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.546, allocations: 369.8 kB / 0.6181 GB, free: 9.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.5465, allocations: 70.39 kB / 0.6182 GB, free: 9.117 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.5478, allocations: 0.6208 MB / 0.6188 GB, free: 8.465 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.5483, allocations: 0.8107 MB / 0.6196 GB, free: 7.629 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.5485, allocations: 50.25 kB / 0.6196 GB, free: 7.582 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.5485, allocations: 23.44 kB / 0.6196 GB, free: 7.559 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5485, allocations: 0 / 0.6196 GB, free: 7.559 MB / 462.1 MB Notification: Performance of Templates: time 0.009131/0.5577, allocations: 4.645 MB / 0.6242 GB, free: 2.957 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)