Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007723/0.0007726, allocations: 91.22 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007874/0.0007875, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 292.7 MB / 0.5499 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000505/0.0005051, allocations: 22.59 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2221, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004226/0.2264, allocations: 2.915 MB / 0.7901 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.2294, allocations: 2.036 MB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.2296, allocations: 11.88 kB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.2299, allocations: 39.7 kB / 0.7922 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.2304, allocations: 171.2 kB / 0.7923 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.2311, allocations: 219 kB / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.2316, allocations: 442.5 kB / 0.793 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004746/0.2321, allocations: 321.8 kB / 0.7933 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.2323, allocations: 123.5 kB / 0.7934 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.2327, allocations: 171.4 kB / 0.7936 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.2327, allocations: 12 kB / 0.7936 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.2332, allocations: 267.6 kB / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.2333, allocations: 83.77 kB / 0.7939 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.2333, allocations: 73.52 kB / 0.794 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.2338, allocations: 379 kB / 0.7943 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2338, allocations: 0 / 0.7943 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2338, allocations: 0 / 0.7943 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.2338, allocations: 4 kB / 0.7943 GB, free: 4.652 MB / 0.6075 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.0008374/0.2347, allocations: 0.5612 MB / 0.7949 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2347, allocations: 8.031 kB / 0.7949 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/0.2355, allocations: 127.4 kB / 0.795 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.2359, allocations: 266.6 kB / 0.7953 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.2359, allocations: 20.36 kB / 0.7953 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.236, allocations: 24 kB / 0.7953 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006531/0.2366, allocations: 411.5 kB / 0.7957 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2367, allocations: 7.938 kB / 0.7957 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.2367, allocations: 11.98 kB / 0.7957 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.2368, allocations: 32.55 kB / 0.7958 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.2374, allocations: 357.9 kB / 0.7961 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.2397, allocations: 2.066 MB / 0.7981 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.2404, allocations: 360.5 kB / 0.7985 GB, free: 112 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.2408, allocations: 206 kB / 0.7987 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.2409, allocations: 85.3 kB / 0.7987 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.241, allocations: 34.73 kB / 0.7988 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.241, allocations: 0 / 0.7988 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.00451/0.2455, allocations: 1.752 MB / 0.8005 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.2455, allocations: 85.14 kB / 0.8006 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.2458, allocations: 232.9 kB / 0.8008 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.2458, allocations: 33.7 kB / 0.8008 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2459, allocations: 180 kB / 0.801 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.246, allocations: 122.3 kB / 0.8011 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.2461, allocations: 8 kB / 0.8011 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2462, allocations: 338.8 kB / 0.8014 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.2466, allocations: 200.8 kB / 0.8016 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.247, allocations: 313 kB / 0.8019 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.2474, allocations: 248.3 kB / 0.8022 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2474, allocations: 0 / 0.8022 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001178/0.2486, allocations: 0.6732 MB / 0.8028 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.2488, allocations: 184.2 kB / 0.803 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2488, allocations: 4 kB / 0.803 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004695/0.2492, allocations: 151.2 kB / 0.8031 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.2496, allocations: 95.88 kB / 0.8032 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.2525, allocations: 3.946 MB / 0.8071 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.2528, allocations: 43.95 kB / 0.8071 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.2529, allocations: 12 kB / 0.8071 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.2529, allocations: 4 kB / 0.8071 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001125/0.254, allocations: 0.62 MB / 0.8077 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.254, allocations: 3.984 kB / 0.8077 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.2544, allocations: 143.5 kB / 0.8079 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.2548, allocations: 99.81 kB / 0.808 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005725/0.2554, allocations: 1.109 MB / 0.8091 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.2556, allocations: 35.95 kB / 0.8091 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.2557, allocations: 20 kB / 0.8091 GB, free: 4.559 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002306/0.2559, allocations: 249.2 kB / 0.8094 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.256, allocations: 23.72 kB / 0.8094 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.2572, allocations: 0.6519 MB / 0.81 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.2572, allocations: 4 kB / 0.81 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2572, allocations: 0 / 0.81 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2572, allocations: 0 / 0.81 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.2595, allocations: 1.333 MB / 0.8113 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.2595, allocations: 4 kB / 0.8113 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.2597, allocations: 72.14 kB / 0.8114 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004021/0.2601, allocations: 147.3 kB / 0.8115 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.2602, allocations: 15.98 kB / 0.8115 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.2631, allocations: 3.962 MB / 0.8154 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.2632, allocations: 11.92 kB / 0.8154 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.2644, allocations: 0.7887 MB / 0.8162 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.2645, allocations: 136.8 kB / 0.8163 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.2646, allocations: 16 kB / 0.8163 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.2649, allocations: 31.97 kB / 0.8164 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.265, allocations: 35.89 kB / 0.8164 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.265, allocations: 15.95 kB / 0.8164 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001605/0.2652, allocations: 172.5 kB / 0.8166 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2652, allocations: 0 / 0.8166 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007355/0.2659, allocations: 156 kB / 0.8167 GB, free: 12.21 MB / 0.6387 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 (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.0002302/0.2662, allocations: 143.2 kB / 0.8169 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.2681, allocations: 1.209 MB / 0.8181 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2681, allocations: 0 / 0.8181 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007265/0.2689, allocations: 0.4902 MB / 0.8185 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.2694, allocations: 56.41 kB / 0.8186 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.2707, allocations: 0.8577 MB / 0.8194 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.2711, allocations: 0.8045 MB / 0.8202 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003323/0.2714, allocations: 114.9 kB / 0.8203 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.2715, allocations: 27.44 kB / 0.8203 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.2715, allocations: 0 / 0.8203 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of Templates: time 0.009675/0.2812, allocations: 5.5 MB / 0.8257 GB, free: 2.867 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) Environment - environmentSimulation: