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.001208/0.001215, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01075/0.01075, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.4 MB / 222.4 MB, free: 5.785 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 2.204/2.204, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006253/0.0006252, allocations: 20.2 kB / 0.6743 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3585, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.00497/0.3635, allocations: 3.023 MB / 0.7908 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004075/0.3676, allocations: 2.168 MB / 0.793 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.3681, allocations: 7.938 kB / 0.793 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.3684, allocations: 35.7 kB / 0.793 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000942/0.3693, allocations: 239 kB / 0.7932 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.3705, allocations: 243.5 kB / 0.7935 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008488/0.3713, allocations: 0.5375 MB / 0.794 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.3721, allocations: 341.4 kB / 0.7943 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.3725, allocations: 131.5 kB / 0.7944 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.373, allocations: 171.3 kB / 0.7946 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.373, allocations: 12 kB / 0.7946 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.374, allocations: 0.4951 MB / 0.7951 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.3742, allocations: 91.7 kB / 0.7952 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.3744, allocations: 149 kB / 0.7953 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.3755, allocations: 0.514 MB / 0.7958 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3755, allocations: 0 / 0.7958 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3755, allocations: 0 / 0.7958 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.3755, allocations: 4 kB / 0.7958 GB, free: 3.406 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.001279/0.3768, allocations: 0.5652 MB / 0.7964 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.3769, allocations: 12.03 kB / 0.7964 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.378, allocations: 124.4 kB / 0.7965 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.3784, allocations: 271.8 kB / 0.7968 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.3785, allocations: 16.81 kB / 0.7968 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.3785, allocations: 20.36 kB / 0.7968 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/0.3794, allocations: 423.9 kB / 0.7972 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3794, allocations: 3.938 kB / 0.7972 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.3794, allocations: 8 kB / 0.7972 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.294e-05/0.3795, allocations: 36.53 kB / 0.7972 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006815/0.3802, allocations: 358 kB / 0.7976 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.383, allocations: 2.054 MB / 0.7996 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/0.3839, allocations: 364.9 kB / 0.7999 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/0.3844, allocations: 193.6 kB / 0.8001 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.3845, allocations: 89.09 kB / 0.8002 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3846, allocations: 38.56 kB / 0.8003 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 3.226e-06/0.3846, allocations: 0 / 0.8003 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.005467/0.39, allocations: 1.766 MB / 0.802 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.3901, allocations: 88.98 kB / 0.8021 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.3905, allocations: 229 kB / 0.8023 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.3905, allocations: 29.7 kB / 0.8023 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.3907, allocations: 191.8 kB / 0.8025 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.3908, allocations: 114.3 kB / 0.8026 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/0.3909, allocations: 41.69 kB / 0.8026 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3911, allocations: 338.8 kB / 0.803 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.3915, allocations: 200.8 kB / 0.8032 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.392, allocations: 313.1 kB / 0.8035 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008896/0.3929, allocations: 0.5325 MB / 0.804 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3929, allocations: 4 kB / 0.804 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001371/0.3943, allocations: 0.6719 MB / 0.8046 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.3945, allocations: 176.3 kB / 0.8048 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3945, allocations: 4 kB / 0.8048 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.3951, allocations: 151.2 kB / 0.8049 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.3955, allocations: 99.88 kB / 0.805 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/0.3986, allocations: 3.953 MB / 0.8089 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.399, allocations: 48.02 kB / 0.8089 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.3991, allocations: 12 kB / 0.809 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-06/0.3991, allocations: 4 kB / 0.809 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/0.4004, allocations: 0.6276 MB / 0.8096 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.4004, allocations: 4 kB / 0.8096 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003905/0.4008, allocations: 143.3 kB / 0.8097 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.4012, allocations: 100 kB / 0.8098 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006581/0.4019, allocations: 1.101 MB / 0.8109 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.4022, allocations: 44.14 kB / 0.8109 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.4023, allocations: 16 kB / 0.8109 GB, free: 2.91 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 (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.0002759/0.4025, allocations: 249 kB / 0.8112 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4026, allocations: 27.72 kB / 0.8112 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.404, allocations: 0.6403 MB / 0.8118 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.404, allocations: 7.984 kB / 0.8118 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.404, allocations: 0 / 0.8118 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.404, allocations: 0 / 0.8118 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.4064, allocations: 1.345 MB / 0.8132 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.4065, allocations: 4 kB / 0.8132 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.4067, allocations: 67.89 kB / 0.8132 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/0.4072, allocations: 155.5 kB / 0.8134 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.4072, allocations: 8 kB / 0.8134 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.4103, allocations: 3.969 MB / 0.8173 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.4104, allocations: 4.031 kB / 0.8173 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.4117, allocations: 0.7926 MB / 0.818 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.4119, allocations: 144.7 kB / 0.8182 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.412, allocations: 11.98 kB / 0.8182 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.4123, allocations: 35.97 kB / 0.8182 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4124, allocations: 35.89 kB / 0.8183 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.4124, allocations: 16 kB / 0.8183 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001856/0.4126, allocations: 164.5 kB / 0.8184 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4126, allocations: 0 / 0.8184 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008737/0.4135, allocations: 160 kB / 0.8186 GB, free: 10.55 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 (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.0002672/0.4138, allocations: 143 kB / 0.8187 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.416, allocations: 1.197 MB / 0.8199 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.416, allocations: 0 / 0.8199 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000747/0.4167, allocations: 0.4903 MB / 0.8204 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.4174, allocations: 64.39 kB / 0.8204 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.4188, allocations: 0.8899 MB / 0.8213 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.4193, allocations: 0.8045 MB / 0.8221 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003796/0.4197, allocations: 118.9 kB / 0.8222 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-05/0.4198, allocations: 27.44 kB / 0.8222 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of SimCode: time 3.236e-06/0.4198, allocations: 0 / 0.8222 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of Templates: time 0.01195/0.4318, allocations: 5.636 MB / 0.8277 GB, free: 1.043 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: