Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.868/1.868, allocations: 292.6 MB / 307.5 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001176, allocations: 185 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.4 MB / 0.6367 GB, free: 9.574 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 94.16 kB / 0.751 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004524, allocations: 8 kB / 0.8748 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3214, allocations: 116.3 MB / 0.9884 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8689/1.19, allocations: 173.4 MB / 1.158 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/1.191, allocations: 100.4 kB / 1.158 GB, free: 8.477 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04988/1.241, allocations: 20.75 MB / 1.178 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.044e-06/1.241, allocations: 0 / 1.178 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.418e-05/1.241, allocations: 4 kB / 1.178 GB, free: 4.324 MB / 0.7448 GB 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.001073/1.242, allocations: 0.5938 MB / 1.179 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.242, allocations: 12.03 kB / 1.179 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/1.243, allocations: 126.4 kB / 1.179 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/1.243, allocations: 270.5 kB / 1.179 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/1.243, allocations: 13.64 kB / 1.179 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/1.243, allocations: 24 kB / 1.179 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/1.244, allocations: 419.5 kB / 1.18 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.244, allocations: 1.719 kB / 1.18 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/1.244, allocations: 12 kB / 1.18 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.909e-05/1.244, allocations: 24.55 kB / 1.18 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000635/1.245, allocations: 361.8 kB / 1.18 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/1.247, allocations: 2.057 MB / 1.182 GB, free: 144 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008262/1.248, allocations: 353 kB / 1.182 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/1.248, allocations: 93.28 kB / 1.182 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.249, allocations: 34.73 kB / 1.182 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.484e-06/1.249, allocations: 7.938 kB / 1.182 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.005411/1.254, allocations: 1.769 MB / 1.184 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/1.254, allocations: 81.11 kB / 1.184 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/1.254, allocations: 216 kB / 1.184 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/1.254, allocations: 33.7 kB / 1.184 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/1.255, allocations: 180.1 kB / 1.185 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/1.255, allocations: 118.3 kB / 1.185 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/1.255, allocations: 4 kB / 1.185 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.255, allocations: 342.8 kB / 1.185 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/1.255, allocations: 204.7 kB / 1.185 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/1.256, allocations: 313.5 kB / 1.186 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/1.256, allocations: 251.4 kB / 1.186 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.256, allocations: 0 / 1.186 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001349/1.258, allocations: 0.6749 MB / 1.186 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006272/1.258, allocations: 1.138 MB / 1.188 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.258, allocations: 4 kB / 1.188 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/1.259, allocations: 148.1 kB / 1.188 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/1.259, allocations: 93 kB / 1.188 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/1.263, allocations: 3.974 MB / 1.192 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/1.263, allocations: 45.14 kB / 1.192 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/1.263, allocations: 16 kB / 1.192 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.263, allocations: 4 kB / 1.192 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001403/1.265, allocations: 0.6381 MB / 1.192 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.265, allocations: 4 kB / 1.192 GB, free: 4.855 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003872/1.265, allocations: 140.2 kB / 1.192 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/1.265, allocations: 100 kB / 1.193 GB, free: 4.609 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006751/1.266, allocations: 1.11 MB / 1.194 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/1.267, allocations: 40.16 kB / 1.194 GB, free: 3.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/1.267, allocations: 15.98 kB / 1.194 GB, free: 3.395 MB / 0.7605 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003354/1.267, allocations: 257 kB / 1.194 GB, free: 3.133 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/1.267, allocations: 28.81 kB / 1.194 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/1.268, allocations: 0.6249 MB / 1.195 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.268, allocations: 11.98 kB / 1.195 GB, free: 2.457 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.268, allocations: 0 / 1.195 GB, free: 2.457 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.268, allocations: 3.938 kB / 1.195 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/1.271, allocations: 1.245 MB / 1.196 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.271, allocations: 0 / 1.196 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/1.271, allocations: 67.89 kB / 1.196 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/1.272, allocations: 157.1 kB / 1.196 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/1.272, allocations: 8 kB / 1.196 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003139/1.275, allocations: 3.991 MB / 1.2 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.275, allocations: 4.031 kB / 1.2 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/1.276, allocations: 0.8911 MB / 1.201 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/1.276, allocations: 140.8 kB / 1.201 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/1.276, allocations: 8 kB / 1.201 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/1.277, allocations: 39.91 kB / 1.201 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/1.277, allocations: 39.91 kB / 1.201 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/1.277, allocations: 8 kB / 1.201 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001891/1.277, allocations: 168.5 kB / 1.201 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/1.277, allocations: 4 kB / 1.201 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008965/1.278, allocations: 187.9 kB / 1.201 GB, free: 10.99 MB / 0.7761 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003022/1.278, allocations: 147.1 kB / 1.202 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00217/1.28, allocations: 1.221 MB / 1.203 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.28, allocations: 4 kB / 1.203 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007925/1.281, allocations: 0.4902 MB / 1.203 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/1.282, allocations: 59.41 kB / 1.203 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/1.283, allocations: 0.858 MB / 1.204 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/1.283, allocations: 0.8123 MB / 1.205 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003623/1.284, allocations: 122.5 kB / 1.205 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/1.284, allocations: 23.44 kB / 1.205 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of SimCode: time 2.394e-06/1.284, allocations: 0 / 1.205 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of Templates: time 0.01008/1.294, allocations: 5.417 MB / 1.21 GB, free: 1.73 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)