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.2039/0.2059, allocations: 80.84 MB / 0.5899 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01737/0.2234, allocations: 11.73 MB / 0.6013 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.236, allocations: 5.627 MB / 0.6068 GB, free: 5.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.2379, allocations: 31.88 kB / 0.6069 GB, free: 5.488 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.2412, allocations: 0.9802 MB / 0.6078 GB, free: 4.508 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.2441, allocations: 0.6068 MB / 0.6084 GB, free: 3.898 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.2469, allocations: 0.9005 MB / 0.6093 GB, free: 2.996 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003409/0.2503, allocations: 2.525 MB / 0.6118 GB, free: 472 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006342/0.2567, allocations: 4.426 MB / 0.6161 GB, free: 12 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.259, allocations: 1.184 MB / 0.6172 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.261, allocations: 1.379 MB / 0.6186 GB, free: 9.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000374/0.2614, allocations: 248 kB / 0.6188 GB, free: 9.188 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.2627, allocations: 0.5384 MB / 0.6194 GB, free: 8.648 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.2638, allocations: 0.9123 MB / 0.6202 GB, free: 7.734 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.2651, allocations: 1.027 MB / 0.6212 GB, free: 6.703 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004234/0.2693, allocations: 3.759 MB / 0.6249 GB, free: 2.934 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.2693, allocations: 0 / 0.6249 GB, free: 2.934 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2693, allocations: 4 kB / 0.6249 GB, free: 2.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.064e-05/0.2694, allocations: 0 / 0.6249 GB, free: 2.93 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.004346/0.2738, allocations: 2.065 MB / 0.6269 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.2738, allocations: 8.031 kB / 0.6269 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/0.2768, allocations: 0.6894 MB / 0.6276 GB, free: 112 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.2791, allocations: 1.181 MB / 0.6288 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.2792, allocations: 119.5 kB / 0.6289 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.2795, allocations: 164 kB / 0.629 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00585/0.2854, allocations: 2.912 MB / 0.6319 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.27e-05/0.2855, allocations: 0 / 0.6319 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.2857, allocations: 64 kB / 0.6319 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005044/0.2862, allocations: 175 kB / 0.6321 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004437/0.2906, allocations: 2.464 MB / 0.6345 GB, free: 8.926 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01348/0.3041, allocations: 8.221 MB / 0.6425 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.3055, allocations: 0.9281 MB / 0.6435 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/0.3061, allocations: 0.5005 MB / 0.6439 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.3063, allocations: 97.45 kB / 0.644 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.3063, allocations: 34.94 kB / 0.6441 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.535e-06/0.3063, allocations: 0 / 0.6441 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70): time 0.02552/0.3319, allocations: 7.701 MB / 0.6516 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.332, allocations: 59.97 kB / 0.6516 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.3334, allocations: 0.9297 MB / 0.6526 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.3336, allocations: 41.7 kB / 0.6526 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005557/0.3341, allocations: 0.7621 MB / 0.6533 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.3344, allocations: 248.4 kB / 0.6536 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004217/0.3348, allocations: 214.8 kB / 0.6538 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.335, allocations: 398.7 kB / 0.6542 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.3362, allocations: 0.7828 MB / 0.6549 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.3376, allocations: 1.132 MB / 0.656 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/0.3403, allocations: 1.958 MB / 0.6579 GB, free: 156 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.3403, allocations: 4 kB / 0.6579 GB, free: 152 kB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009346/0.3496, allocations: 3.619 MB / 0.6615 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.3497, allocations: 8 kB / 0.6615 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.3497, allocations: 12 kB / 0.6615 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007482/0.3572, allocations: 1.909 MB / 0.6634 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009678/0.3582, allocations: 215.6 kB / 0.6636 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01667/0.3749, allocations: 10.58 MB / 0.6739 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.3764, allocations: 183.6 kB / 0.6741 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.3766, allocations: 44 kB / 0.6741 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002569/0.3791, allocations: 1.503 MB / 0.6756 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001387/0.3805, allocations: 1.104 MB / 0.6767 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002413/0.383, allocations: 1.9 MB / 0.6785 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.682e-06/0.383, allocations: 4 kB / 0.6785 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007766/0.3908, allocations: 3.049 MB / 0.6815 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.3908, allocations: 12 kB / 0.6815 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.3909, allocations: 8 kB / 0.6815 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00495/0.3958, allocations: 1.202 MB / 0.6827 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.3971, allocations: 267.5 kB / 0.683 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008851/0.406, allocations: 5.855 MB / 0.6887 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.4075, allocations: 167.7 kB / 0.6888 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4076, allocations: 51.81 kB / 0.6889 GB, free: 15.71 MB / 0.545 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.0003945/0.408, allocations: 243.9 kB / 0.6891 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.4082, allocations: 82.97 kB / 0.6892 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00866/0.4169, allocations: 3.148 MB / 0.6923 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.4169, allocations: 8 kB / 0.6923 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.4169, allocations: 8 kB / 0.6923 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.417, allocations: 3.984 kB / 0.6923 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.429, allocations: 5.185 MB / 0.6973 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.4291, allocations: 4 kB / 0.6974 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.4296, allocations: 104.1 kB / 0.6975 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006688/0.4363, allocations: 1.729 MB / 0.6991 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.4364, allocations: 12 kB / 0.6992 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4249/0.8613, allocations: 9.97 MB / 0.7089 GB, free: 105.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.8613, allocations: 6.594 kB / 0.7089 GB, free: 105.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008481/0.8698, allocations: 3.028 MB / 0.7118 GB, free: 105.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000745/0.8706, allocations: 319 kB / 0.7122 GB, free: 105 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.8708, allocations: 19.12 kB / 0.7122 GB, free: 105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009611/0.8718, allocations: 133.9 kB / 0.7123 GB, free: 105 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/0.8721, allocations: 62.34 kB / 0.7124 GB, free: 105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/0.8722, allocations: 22.25 kB / 0.7124 GB, free: 105 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001004/0.8732, allocations: 0.663 MB / 0.713 GB, free: 104.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.8732, allocations: 0 / 0.713 GB, free: 104.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002388/0.8756, allocations: 0.6472 MB / 0.7137 GB, free: 104.9 MB / 0.545 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.0002352/0.8759, allocations: 127.5 kB / 0.7138 GB, free: 104.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006177/0.8821, allocations: 3.682 MB / 0.7174 GB, free: 104.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.8821, allocations: 1.062 kB / 0.7174 GB, free: 104.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002289/0.8844, allocations: 1.265 MB / 0.7186 GB, free: 104.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.886, allocations: 277.9 kB / 0.7189 GB, free: 104 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008333/0.8944, allocations: 4.197 MB / 0.723 GB, free: 101.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002265/0.8967, allocations: 1.73 MB / 0.7247 GB, free: 101 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001934/0.8986, allocations: 0.5304 MB / 0.7252 GB, free: 100.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.8988, allocations: 54.72 kB / 0.7252 GB, free: 100.9 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.8989, allocations: 0 / 0.7252 GB, free: 100.9 MB / 0.545 GB Notification: Performance of Templates: time 0.04336/0.9422, allocations: 30.5 MB / 0.755 GB, free: 79.62 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (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)