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.001398/0.001398, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001098/0.001097, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.891/1.891, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001393/0.001393, allocations: 71.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2327, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004757/0.2375, allocations: 3.337 MB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4421/0.6795, allocations: 2.19 MB / 0.7894 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.6798, allocations: 7.375 kB / 0.7894 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009193/0.6808, allocations: 282.2 kB / 0.7897 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006244/0.6814, allocations: 244.4 kB / 0.7899 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.6823, allocations: 291.3 kB / 0.7902 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.6827, allocations: 390.7 kB / 0.7906 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.6831, allocations: 209.5 kB / 0.7908 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.6833, allocations: 154.6 kB / 0.7909 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.6836, allocations: 172.7 kB / 0.7911 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.6836, allocations: 21 kB / 0.7911 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006566/0.6843, allocations: 427.7 kB / 0.7915 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.656e-05/0.6844, allocations: 100.2 kB / 0.7916 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.6845, allocations: 140 kB / 0.7918 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.6851, allocations: 0.5102 MB / 0.7923 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6851, allocations: 0 / 0.7923 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6852, allocations: 0 / 0.7923 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.6852, allocations: 0 / 0.7923 GB, free: 45.95 MB / 0.6544 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.001/0.6862, allocations: 0.6106 MB / 0.7929 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6862, allocations: 12.06 kB / 0.7929 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008353/0.6871, allocations: 114 kB / 0.793 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.6874, allocations: 280.4 kB / 0.7932 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.6874, allocations: 16.48 kB / 0.7933 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.6875, allocations: 20.41 kB / 0.7933 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/0.688, allocations: 411.5 kB / 0.7937 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6881, allocations: 8.578 kB / 0.7937 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.6881, allocations: 12.34 kB / 0.7937 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.6881, allocations: 33.09 kB / 0.7937 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/0.6887, allocations: 351.3 kB / 0.7941 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.6907, allocations: 2.051 MB / 0.7961 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007215/0.6914, allocations: 352.3 kB / 0.7964 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.6918, allocations: 188.2 kB / 0.7966 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/0.6919, allocations: 87.36 kB / 0.7967 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.6919, allocations: 40.75 kB / 0.7967 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.994e-06/0.6919, allocations: 0 / 0.7967 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.004848/0.6968, allocations: 1.567 MB / 0.7982 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.6969, allocations: 79.77 kB / 0.7983 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.6971, allocations: 247.2 kB / 0.7985 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.6971, allocations: 34.62 kB / 0.7986 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.6972, allocations: 181.4 kB / 0.7987 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/0.6973, allocations: 118.6 kB / 0.7989 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.6974, allocations: 78.52 kB / 0.7989 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.6975, allocations: 333.5 kB / 0.7993 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.6979, allocations: 197.8 kB / 0.7994 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.6984, allocations: 311.7 kB / 0.7997 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007991/0.6992, allocations: 0.5079 MB / 0.8002 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6992, allocations: 0 / 0.8002 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001264/0.7005, allocations: 0.658 MB / 0.8009 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.7005, allocations: 8.469 kB / 0.8009 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.7005, allocations: 2.438 kB / 0.8009 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.701, allocations: 148.4 kB / 0.801 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.7015, allocations: 89.44 kB / 0.8011 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.704, allocations: 4.177 MB / 0.8052 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.7044, allocations: 35.25 kB / 0.8052 GB, free: 37.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.7044, allocations: 18.92 kB / 0.8052 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00056/0.705, allocations: 321.8 kB / 0.8056 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004782/0.7055, allocations: 308 kB / 0.8058 GB, free: 37.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008696/0.7064, allocations: 0.5086 MB / 0.8063 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.927e-06/0.7064, allocations: 1.281 kB / 0.8063 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001439/0.7078, allocations: 0.6516 MB / 0.807 GB, free: 37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7078, allocations: 8.156 kB / 0.807 GB, free: 37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.7079, allocations: 6.469 kB / 0.807 GB, free: 37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004611/0.7083, allocations: 144.2 kB / 0.8071 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.7088, allocations: 93.58 kB / 0.8072 GB, free: 36.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.7113, allocations: 4.177 MB / 0.8113 GB, free: 32.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.7117, allocations: 37.95 kB / 0.8113 GB, free: 32.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.7117, allocations: 17.69 kB / 0.8114 GB, free: 32.94 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.7119, allocations: 204.3 kB / 0.8115 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.039e-05/0.712, allocations: 25.12 kB / 0.8116 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.7134, allocations: 0.6132 MB / 0.8122 GB, free: 32.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.7134, allocations: 4.219 kB / 0.8122 GB, free: 32.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7134, allocations: 1.312 kB / 0.8122 GB, free: 32.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.7134, allocations: 6.062 kB / 0.8122 GB, free: 32.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.7158, allocations: 1.32 MB / 0.8135 GB, free: 31.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7158, allocations: 7.547 kB / 0.8135 GB, free: 31.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.7161, allocations: 63.66 kB / 0.8135 GB, free: 31.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004546/0.7166, allocations: 148.1 kB / 0.8137 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.7166, allocations: 12.56 kB / 0.8137 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/0.7191, allocations: 4.184 MB / 0.8178 GB, free: 27.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7191, allocations: 2.719 kB / 0.8178 GB, free: 27.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.7205, allocations: 0.7829 MB / 0.8185 GB, free: 27.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.7206, allocations: 141 kB / 0.8187 GB, free: 27.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.7207, allocations: 10.52 kB / 0.8187 GB, free: 27.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.721, allocations: 28.84 kB / 0.8187 GB, free: 27.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.7211, allocations: 34.44 kB / 0.8187 GB, free: 27.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.7212, allocations: 11.81 kB / 0.8188 GB, free: 27.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001895/0.7214, allocations: 184.8 kB / 0.8189 GB, free: 26.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7214, allocations: 0 / 0.8189 GB, free: 26.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009308/0.7223, allocations: 160.4 kB / 0.8191 GB, free: 26.87 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002199/0.7225, allocations: 133.6 kB / 0.8192 GB, free: 26.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002369/0.7249, allocations: 1.273 MB / 0.8205 GB, free: 26.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7249, allocations: 0 / 0.8205 GB, free: 26.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007386/0.7257, allocations: 490.9 kB / 0.8209 GB, free: 25.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.7263, allocations: 57.38 kB / 0.821 GB, free: 25.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.7277, allocations: 0.7909 MB / 0.8218 GB, free: 25.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.728, allocations: 0.8053 MB / 0.8225 GB, free: 24.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.7281, allocations: 32.14 kB / 0.8226 GB, free: 24.58 MB / 0.6544 GB Notification: Performance of SimCode: time 7.22e-07/0.7281, allocations: 0 / 0.8226 GB, free: 24.58 MB / 0.6544 GB Notification: Performance of Templates: time 0.01692/0.745, allocations: 9.08 MB / 0.8314 GB, free: 24.01 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (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)