Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") [/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.1969/0.1977, allocations: 82.22 MB / 0.5941 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01394/0.2117, allocations: 11.24 MB / 0.6051 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.2221, allocations: 5.616 MB / 0.6106 GB, free: 4.641 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.2238, allocations: 31.88 kB / 0.6106 GB, free: 4.609 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.2253, allocations: 318 kB / 0.6109 GB, free: 4.297 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.2278, allocations: 0.6145 MB / 0.6115 GB, free: 3.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.2306, allocations: 0.6731 MB / 0.6122 GB, free: 3.008 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004956/0.2356, allocations: 3.695 MB / 0.6158 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007049/0.2427, allocations: 4.356 MB / 0.62 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.2446, allocations: 0.7978 MB / 0.6208 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.247, allocations: 1.117 MB / 0.6219 GB, free: 8.953 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005769/0.2476, allocations: 96 kB / 0.622 GB, free: 8.859 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.2491, allocations: 471.2 kB / 0.6224 GB, free: 8.398 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.2504, allocations: 0.7131 MB / 0.6231 GB, free: 7.684 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.2522, allocations: 0.8374 MB / 0.624 GB, free: 6.836 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004329/0.2566, allocations: 3.571 MB / 0.6274 GB, free: 3.254 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2566, allocations: 0 / 0.6274 GB, free: 3.254 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2566, allocations: 0 / 0.6274 GB, free: 3.254 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.935e-05/0.2567, allocations: 0 / 0.6274 GB, free: 3.254 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004151/0.2609, allocations: 1.706 MB / 0.6291 GB, free: 1.492 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.2609, allocations: 12.03 kB / 0.6291 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/0.264, allocations: 0.7128 MB / 0.6298 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.2662, allocations: 1.185 MB / 0.631 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.2664, allocations: 119.5 kB / 0.6311 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.2668, allocations: 160.1 kB / 0.6312 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005502/0.2723, allocations: 2.924 MB / 0.6341 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.21e-05/0.2723, allocations: 0 / 0.6341 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.2725, allocations: 64 kB / 0.6342 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004071/0.2729, allocations: 167 kB / 0.6343 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00426/0.2772, allocations: 2.483 MB / 0.6367 GB, free: 9.559 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.2894, allocations: 8.252 MB / 0.6448 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.2907, allocations: 0.915 MB / 0.6457 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/0.2914, allocations: 0.5095 MB / 0.6462 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.2916, allocations: 93.47 kB / 0.6463 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.2916, allocations: 34.94 kB / 0.6463 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.926e-06/0.2916, allocations: 0 / 0.6463 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70): time 0.02665/0.3183, allocations: 8.005 MB / 0.6541 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.3184, allocations: 59.97 kB / 0.6542 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.3199, allocations: 0.9259 MB / 0.6551 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.32, allocations: 33.7 kB / 0.6551 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/0.3206, allocations: 0.7659 MB / 0.6559 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.3208, allocations: 252.5 kB / 0.6561 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.321, allocations: 89.67 kB / 0.6562 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3212, allocations: 390.8 kB / 0.6566 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.3225, allocations: 0.7872 MB / 0.6573 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.3241, allocations: 1.143 MB / 0.6585 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.3271, allocations: 1.986 MB / 0.6604 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.3272, allocations: 4 kB / 0.6604 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01006/0.3372, allocations: 3.682 MB / 0.664 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003486/0.3376, allocations: 417.2 kB / 0.6644 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.3377, allocations: 8 kB / 0.6644 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008407/0.3461, allocations: 1.997 MB / 0.6664 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.3471, allocations: 235.6 kB / 0.6666 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/0.3633, allocations: 9.887 MB / 0.6762 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.3648, allocations: 183.6 kB / 0.6764 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.365, allocations: 44 kB / 0.6765 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.365, allocations: 8 kB / 0.6765 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00799/0.373, allocations: 3.025 MB / 0.6794 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.3731, allocations: 15.98 kB / 0.6794 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005619/0.3787, allocations: 1.288 MB / 0.6807 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.38, allocations: 271.5 kB / 0.6809 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.3912, allocations: 6.001 MB / 0.6868 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.3928, allocations: 155.7 kB / 0.687 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.393, allocations: 48 kB / 0.687 GB, free: 4.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001709/0.3948, allocations: 0.8996 MB / 0.6879 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.395, allocations: 86.97 kB / 0.688 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009398/0.4044, allocations: 3.214 MB / 0.6911 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.885e-05/0.4045, allocations: 8 kB / 0.6911 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.4045, allocations: 3.938 kB / 0.6911 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.4045, allocations: 3.984 kB / 0.6911 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3794/0.784, allocations: 5.249 MB / 0.6962 GB, free: 89.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.7841, allocations: 0 / 0.6962 GB, free: 89.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.7845, allocations: 103.6 kB / 0.6963 GB, free: 89.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007751/0.7923, allocations: 1.818 MB / 0.6981 GB, free: 89.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-05/0.7924, allocations: 12.75 kB / 0.6981 GB, free: 89.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.8061, allocations: 9.299 MB / 0.7072 GB, free: 86.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8062, allocations: 2.688 kB / 0.7072 GB, free: 86.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009014/0.8152, allocations: 3.103 MB / 0.7102 GB, free: 86.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007912/0.816, allocations: 324.5 kB / 0.7106 GB, free: 85.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.8162, allocations: 17.47 kB / 0.7106 GB, free: 85.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009077/0.8171, allocations: 136 kB / 0.7107 GB, free: 85.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004074/0.8175, allocations: 62.91 kB / 0.7108 GB, free: 85.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.975e-05/0.8176, allocations: 19.78 kB / 0.7108 GB, free: 85.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001172/0.8188, allocations: 0.6643 MB / 0.7114 GB, free: 85.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8188, allocations: 6.469 kB / 0.7114 GB, free: 85.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003283/0.8221, allocations: 0.649 MB / 0.7121 GB, free: 85.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002648/0.8223, allocations: 124.7 kB / 0.7122 GB, free: 85.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007897/0.8302, allocations: 3.814 MB / 0.7159 GB, free: 84.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/0.8303, allocations: 0 / 0.7159 GB, free: 84.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0024/0.8327, allocations: 1.254 MB / 0.7171 GB, free: 83.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.8346, allocations: 260.4 kB / 0.7174 GB, free: 83.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/0.8414, allocations: 4.241 MB / 0.7215 GB, free: 80.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.8431, allocations: 1.72 MB / 0.7232 GB, free: 79.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001365/0.8445, allocations: 0.5328 MB / 0.7237 GB, free: 79.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.8447, allocations: 58.06 kB / 0.7238 GB, free: 79.43 MB / 0.5294 GB Notification: Performance of SimCode: time 1.523e-06/0.8447, allocations: 1.531 kB / 0.7238 GB, free: 79.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.03687/0.8816, allocations: 29.13 MB / 0.7522 GB, free: 53.21 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) Environment - environmentSimulation: