Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.776/2.776, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001477/0.001477, allocations: 174.9 kB / 371 MB, free: 10.89 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.377/2.377, allocations: 205.4 MB / 0.6297 GB, free: 10.65 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.0009441/0.0009441, allocations: 84.92 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.000496, allocations: 15.45 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2308, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.007109/0.238, allocations: 2.915 MB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005772/0.2439, allocations: 2.071 MB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.2442, allocations: 7.938 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.2446, allocations: 35.7 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009364/0.2455, allocations: 175.2 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.2467, allocations: 220.3 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006159/0.2473, allocations: 442.6 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006564/0.248, allocations: 321.8 kB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.2482, allocations: 119.5 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.2486, allocations: 167.4 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.2487, allocations: 12 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007673/0.2495, allocations: 267.6 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.2496, allocations: 95.69 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.2497, allocations: 69.58 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006423/0.2504, allocations: 379.1 kB / 0.9854 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2504, allocations: 0 / 0.9854 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2504, allocations: 0 / 0.9854 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2504, allocations: 0 / 0.9854 GB, free: 21.08 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.001123/0.2515, allocations: 0.5612 MB / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2516, allocations: 15.95 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.2528, allocations: 123.5 kB / 0.9861 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.2533, allocations: 266.6 kB / 0.9864 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.2534, allocations: 12.44 kB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.2534, allocations: 16 kB / 0.9864 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009563/0.2544, allocations: 427.5 kB / 0.9868 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.2544, allocations: 3.938 kB / 0.9868 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.2545, allocations: 11.94 kB / 0.9868 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.736e-05/0.2546, allocations: 40.48 kB / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009273/0.2555, allocations: 353.9 kB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/0.2586, allocations: 2.062 MB / 0.9892 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.2598, allocations: 357.6 kB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.2604, allocations: 202 kB / 0.9897 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.2606, allocations: 85.3 kB / 0.9898 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2606, allocations: 30.75 kB / 0.9899 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.296e-06/0.2606, allocations: 3.984 kB / 0.9899 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.008347/0.269, allocations: 1.766 MB / 0.9916 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.2691, allocations: 81.06 kB / 0.9917 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.2694, allocations: 236.9 kB / 0.9919 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.2694, allocations: 33.7 kB / 0.9919 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2696, allocations: 184 kB / 0.9921 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.2697, allocations: 118.3 kB / 0.9922 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.2697, allocations: 12 kB / 0.9922 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.2698, allocations: 334.8 kB / 0.9925 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006371/0.2705, allocations: 200.8 kB / 0.9927 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.2711, allocations: 313.1 kB / 0.993 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.2719, allocations: 243.6 kB / 0.9933 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.2719, allocations: 4 kB / 0.9933 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001982/0.2739, allocations: 0.6681 MB / 0.9939 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.2741, allocations: 184.2 kB / 0.9941 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2741, allocations: 0 / 0.9941 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000736/0.2748, allocations: 151.3 kB / 0.9942 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/0.2756, allocations: 99.81 kB / 0.9943 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/0.2788, allocations: 3.942 MB / 0.9982 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.2794, allocations: 43.95 kB / 0.9982 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.2795, allocations: 12 kB / 0.9982 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.2795, allocations: 4 kB / 0.9982 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001838/0.2814, allocations: 0.6279 MB / 0.9989 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2814, allocations: 4 kB / 0.9989 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.282, allocations: 147.5 kB / 0.999 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.2828, allocations: 95.81 kB / 0.9991 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006135/0.2834, allocations: 1.116 MB / 1 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.2839, allocations: 31.97 kB / 1 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.284, allocations: 16 kB / 1 GB, free: 4.977 MB / 0.6198 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.0003062/0.2843, allocations: 254.2 kB / 1 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2844, allocations: 31.66 kB / 1 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.2864, allocations: 0.6436 MB / 1.001 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.2864, allocations: 4 kB / 1.001 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2864, allocations: 4 kB / 1.001 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.2864, allocations: 3.953 kB / 1.001 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.2897, allocations: 1.325 MB / 1.002 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.2897, allocations: 3.984 kB / 1.002 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.2902, allocations: 68.16 kB / 1.002 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008965/0.2912, allocations: 151.3 kB / 1.003 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.2913, allocations: 15.95 kB / 1.003 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/0.2956, allocations: 3.965 MB / 1.007 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.2957, allocations: 4.031 kB / 1.007 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.2978, allocations: 0.7935 MB / 1.007 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.2982, allocations: 136.8 kB / 1.007 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.2982, allocations: 12 kB / 1.007 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/0.2987, allocations: 35.97 kB / 1.007 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.2989, allocations: 35.91 kB / 1.008 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.299, allocations: 12 kB / 1.008 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002555/0.2992, allocations: 164.5 kB / 1.008 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2992, allocations: 4 kB / 1.008 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001094/0.3003, allocations: 164 kB / 1.008 GB, free: 12.62 MB / 0.6355 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.0002986/0.3007, allocations: 135.1 kB / 1.008 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003445/0.3041, allocations: 1.198 MB / 1.009 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.3042, allocations: 4 kB / 1.009 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.3055, allocations: 0.4905 MB / 1.01 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009418/0.3065, allocations: 52.39 kB / 1.01 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.3086, allocations: 0.8641 MB / 1.011 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.3092, allocations: 0.8123 MB / 1.011 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006716/0.3099, allocations: 118.8 kB / 1.011 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.31, allocations: 27.38 kB / 1.011 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of SimCode: time 1.363e-06/0.3101, allocations: 0 / 1.011 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.01887/0.3289, allocations: 5.53 MB / 1.017 GB, free: 3.246 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)