Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 293 MB / 309 MB, free: 4.836 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.001038/0.001038, allocations: 176.6 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 0.6383 GB, free: 8.148 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.0008161/0.0008161, allocations: 95.83 kB / 0.7527 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004502, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2854, allocations: 116.4 MB / 0.9904 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9192/1.205, allocations: 169.4 MB / 1.156 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/1.205, allocations: 94.95 kB / 1.156 GB, free: 10.62 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.04705/1.252, allocations: 18.31 MB / 1.174 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.537e-06/1.252, allocations: 0 / 1.174 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.639e-05/1.252, allocations: 4 kB / 1.174 GB, free: 9.629 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001353/1.254, allocations: 0.5435 MB / 1.174 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 8.062e-05/1.254, allocations: 8.031 kB / 1.174 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/1.255, allocations: 112.5 kB / 1.175 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/1.255, allocations: 267.7 kB / 1.175 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/1.255, allocations: 16.8 kB / 1.175 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/1.255, allocations: 20.38 kB / 1.175 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007054/1.256, allocations: 346.4 kB / 1.175 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/1.256, allocations: 192 / 1.175 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/1.256, allocations: 15.94 kB / 1.175 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/1.256, allocations: 20.42 kB / 1.175 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/1.257, allocations: 293.5 kB / 1.175 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/1.26, allocations: 1.744 MB / 1.177 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/1.26, allocations: 330.1 kB / 1.177 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/1.26, allocations: 97.67 kB / 1.178 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/1.261, allocations: 89.09 kB / 1.178 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/1.261, allocations: 38.5 kB / 1.178 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/1.261, allocations: 0 / 1.178 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002958/1.264, allocations: 0.9725 MB / 1.179 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/1.264, allocations: 85.14 kB / 1.179 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/1.264, allocations: 220.3 kB / 1.179 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/1.264, allocations: 29.7 kB / 1.179 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/1.264, allocations: 168.1 kB / 1.179 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/1.264, allocations: 79 kB / 1.179 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/1.264, allocations: 7.938 kB / 1.179 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.264, allocations: 330.8 kB / 1.18 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/1.265, allocations: 131.9 kB / 1.18 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/1.265, allocations: 207.7 kB / 1.18 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/1.265, allocations: 365.2 kB / 1.18 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.266, allocations: 4 kB / 1.18 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001059/1.267, allocations: 0.5041 MB / 1.181 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/1.267, allocations: 8.312 kB / 1.181 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.267, allocations: 4 kB / 1.181 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/1.267, allocations: 153.6 kB / 1.181 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/1.268, allocations: 59.91 kB / 1.181 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/1.271, allocations: 3.967 MB / 1.185 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/1.271, allocations: 19.92 kB / 1.185 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/1.271, allocations: 12 kB / 1.185 GB, free: 13.6 MB / 0.7605 GB 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 (32): * Single equations (assignments): 28 * 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.0002272/1.272, allocations: 165.7 kB / 1.185 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/1.272, allocations: 23.91 kB / 1.185 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/1.273, allocations: 478.2 kB / 1.185 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/1.273, allocations: 11.98 kB / 1.185 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.273, allocations: 0 / 1.185 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/1.273, allocations: 0 / 1.185 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/1.274, allocations: 1.002 MB / 1.186 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.275, allocations: 0 / 1.186 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/1.275, allocations: 40.91 kB / 1.186 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/1.275, allocations: 144.5 kB / 1.187 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/1.275, allocations: 8 kB / 1.187 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/1.278, allocations: 3.944 MB / 1.19 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.278, allocations: 1.375 kB / 1.19 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008794/1.279, allocations: 0.6337 MB / 1.191 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/1.279, allocations: 132.7 kB / 1.191 GB, free: 6.531 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/1.28, allocations: 15.92 kB / 1.191 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/1.28, allocations: 20.55 kB / 1.191 GB, free: 6.496 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/1.28, allocations: 27.91 kB / 1.191 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/1.28, allocations: 8 kB / 1.191 GB, free: 6.461 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001964/1.28, allocations: 153.5 kB / 1.191 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.28, allocations: 0 / 1.191 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006785/1.281, allocations: 103.9 kB / 1.192 GB, free: 6.211 MB / 0.7605 GB 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 (21): * Single equations (assignments): 17 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003419/1.281, allocations: 143.2 kB / 1.192 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001051/1.282, allocations: 0.5452 MB / 1.192 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.282, allocations: 3.938 kB / 1.192 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005498/1.283, allocations: 402.3 kB / 1.193 GB, free: 5.07 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/1.283, allocations: 49.05 kB / 1.193 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/1.285, allocations: 0.7297 MB / 1.193 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/1.285, allocations: 0.7842 MB / 1.194 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002325/1.286, allocations: 64.3 kB / 1.194 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/1.286, allocations: 19.44 kB / 1.194 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of SimCode: time 3.61e-07/1.286, allocations: 0 / 1.194 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of Templates: time 0.01026/1.296, allocations: 3.899 MB / 1.198 GB, free: 15.52 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)