Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.841/1.841, allocations: 288.3 MB / 303.2 MB, free: 8.09 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.001166/0.001166, allocations: 191.6 kB / 371.9 MB, free: 10.28 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.928/1.928, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 99.36 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006761/0.0006761, allocations: 12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2651, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003063/0.2682, allocations: 2.841 MB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.2705, allocations: 2.005 MB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.2707, allocations: 7.938 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.2708, allocations: 43.7 kB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.2713, allocations: 151.5 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.2719, allocations: 219.4 kB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.2721, allocations: 223.6 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.2726, allocations: 327 kB / 0.9851 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.2727, allocations: 107.6 kB / 0.9852 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.273, allocations: 127.5 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.273, allocations: 12 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.2734, allocations: 251.6 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.2734, allocations: 75.81 kB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.2735, allocations: 73.52 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.2739, allocations: 383 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2739, allocations: 0 / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2739, allocations: 0 / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2739, allocations: 0 / 0.9861 GB, free: 20.82 MB / 0.6198 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.0007783/0.2747, allocations: 0.5612 MB / 0.9866 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2747, allocations: 8.031 kB / 0.9866 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008313/0.2756, allocations: 143.4 kB / 0.9868 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.2759, allocations: 262.6 kB / 0.987 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2759, allocations: 20.42 kB / 0.987 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.2759, allocations: 20 kB / 0.9871 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005887/0.2765, allocations: 411.5 kB / 0.9875 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2766, allocations: 0 / 0.9875 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.2766, allocations: 15.98 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/0.2767, allocations: 36.53 kB / 0.9875 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/0.2772, allocations: 349.9 kB / 0.9878 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.2793, allocations: 2.066 MB / 0.9899 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/0.28, allocations: 355.9 kB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.036e-05/0.2801, allocations: 89.28 kB / 0.9903 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.2802, allocations: 42.69 kB / 0.9903 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.2802, allocations: 4 kB / 0.9903 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.004713/0.2849, allocations: 1.766 MB / 0.992 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.285, allocations: 81.11 kB / 0.9921 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.2852, allocations: 236.9 kB / 0.9924 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.2852, allocations: 33.7 kB / 0.9924 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.2853, allocations: 180 kB / 0.9926 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.2854, allocations: 118.3 kB / 0.9927 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.2854, allocations: 4 kB / 0.9927 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.2855, allocations: 346.8 kB / 0.993 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.2859, allocations: 204.7 kB / 0.9932 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.2863, allocations: 312.2 kB / 0.9935 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.2867, allocations: 251.6 kB / 0.9937 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2867, allocations: 0 / 0.9937 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001225/0.288, allocations: 0.6834 MB / 0.9944 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002722/0.2882, allocations: 1.138 MB / 0.9955 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.2883, allocations: 11.92 kB / 0.9955 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000508/0.2888, allocations: 151.3 kB / 0.9957 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.2892, allocations: 95.88 kB / 0.9958 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.2915, allocations: 3.973 MB / 0.9996 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.2919, allocations: 35.97 kB / 0.9997 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.2919, allocations: 16.2 kB / 0.9997 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.292, allocations: 9.875 kB / 0.9997 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/0.2931, allocations: 0.6313 MB / 1 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2931, allocations: 3.984 kB / 1 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/0.2934, allocations: 151.5 kB / 1 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.2938, allocations: 95.81 kB / 1.001 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004603/0.2943, allocations: 1.116 MB / 1.002 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.2946, allocations: 31.97 kB / 1.002 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.2946, allocations: 16 kB / 1.002 GB, free: 3.832 MB / 0.6198 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.0002221/0.2949, allocations: 253.2 kB / 1.002 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.2949, allocations: 27.67 kB / 1.002 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.2961, allocations: 0.6361 MB / 1.003 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2961, allocations: 7.938 kB / 1.003 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.2961, allocations: 0 / 1.003 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.2961, allocations: 7.938 kB / 1.003 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.2982, allocations: 1.226 MB / 1.004 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2982, allocations: 4 kB / 1.004 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.2985, allocations: 76.09 kB / 1.004 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003996/0.2989, allocations: 155.3 kB / 1.004 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.2989, allocations: 8 kB / 1.004 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/0.3015, allocations: 4.001 MB / 1.008 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.3016, allocations: 4 kB / 1.008 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.3029, allocations: 0.888 MB / 1.009 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.3031, allocations: 144.7 kB / 1.009 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.3032, allocations: 12 kB / 1.009 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.3035, allocations: 35.97 kB / 1.009 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.3036, allocations: 35.91 kB / 1.009 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.3036, allocations: 16 kB / 1.009 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001579/0.3038, allocations: 164.5 kB / 1.009 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3038, allocations: 0 / 1.009 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007523/0.3045, allocations: 160 kB / 1.009 GB, free: 11.43 MB / 0.6355 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.0002476/0.3048, allocations: 143.2 kB / 1.009 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002237/0.307, allocations: 1.217 MB / 1.011 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3071, allocations: 4.625 kB / 1.011 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007941/0.3079, allocations: 0.4936 MB / 1.011 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.3083, allocations: 48.41 kB / 1.011 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3096, allocations: 0.8575 MB / 1.012 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.3102, allocations: 0.8201 MB / 1.013 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004135/0.3106, allocations: 114.8 kB / 1.013 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.3107, allocations: 31.42 kB / 1.013 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.3107, allocations: 0 / 1.013 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of Templates: time 0.0101/0.3208, allocations: 5.45 MB / 1.018 GB, free: 2.105 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)