Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.0009295/0.0009292, allocations: 90.52 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.007959/0.007959, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 473.4 MB / 0.7469 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 8.031 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3631, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005794/0.369, allocations: 3.031 MB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004376/0.3734, allocations: 2.154 MB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.3738, allocations: 4 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.3741, allocations: 39.64 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.3751, allocations: 223.1 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3762, allocations: 255.4 kB / 1.08 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006673/0.3769, allocations: 0.5297 MB / 1.08 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006129/0.3775, allocations: 341.5 kB / 1.081 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.3777, allocations: 123.5 kB / 1.081 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.3781, allocations: 179.3 kB / 1.081 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.3782, allocations: 12 kB / 1.081 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009375/0.3791, allocations: 0.499 MB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3793, allocations: 87.7 kB / 1.081 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.3794, allocations: 153 kB / 1.082 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006581/0.3801, allocations: 0.5218 MB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3801, allocations: 0 / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3801, allocations: 4 kB / 1.082 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.3801, allocations: 0 / 1.082 GB, free: 15.37 MB / 0.8419 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.0009582/0.3811, allocations: 0.5574 MB / 1.083 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3812, allocations: 12.03 kB / 1.083 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008918/0.3821, allocations: 128.4 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.3824, allocations: 275.6 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3824, allocations: 20.8 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.3825, allocations: 20.38 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006628/0.3832, allocations: 427.8 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3832, allocations: 0 / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.3832, allocations: 11.98 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.3833, allocations: 32.55 kB / 1.084 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/0.3839, allocations: 357.9 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.3862, allocations: 2.054 MB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.3869, allocations: 361 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.3874, allocations: 201.6 kB / 1.086 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.3875, allocations: 81.11 kB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3875, allocations: 42.48 kB / 1.087 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.3875, allocations: 0 / 1.087 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.005164/0.3927, allocations: 1.756 MB / 1.088 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3928, allocations: 89.36 kB / 1.088 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.393, allocations: 233 kB / 1.089 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.393, allocations: 33.7 kB / 1.089 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.3931, allocations: 179.9 kB / 1.089 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.3932, allocations: 118.3 kB / 1.089 GB, free: 8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.3933, allocations: 37.7 kB / 1.089 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3934, allocations: 338.8 kB / 1.089 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.3938, allocations: 204.7 kB / 1.089 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.3943, allocations: 317 kB / 1.09 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008467/0.3951, allocations: 0.5275 MB / 1.09 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3951, allocations: 0 / 1.09 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001255/0.3964, allocations: 0.6804 MB / 1.091 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.3965, allocations: 176.2 kB / 1.091 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3965, allocations: 8 kB / 1.091 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004995/0.397, allocations: 151.3 kB / 1.091 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.3974, allocations: 99.88 kB / 1.091 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.4, allocations: 3.95 MB / 1.095 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.4004, allocations: 35.97 kB / 1.095 GB, free: 1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.4004, allocations: 20.11 kB / 1.095 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.81e-06/0.4004, allocations: 9.25 kB / 1.095 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001184/0.4016, allocations: 0.6236 MB / 1.096 GB, free: 344 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4017, allocations: 4.219 kB / 1.096 GB, free: 340 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/0.402, allocations: 143.3 kB / 1.096 GB, free: 184 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.4024, allocations: 99.81 kB / 1.096 GB, free: 84 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005888/0.403, allocations: 1.116 MB / 1.097 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.4033, allocations: 39.95 kB / 1.097 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.4034, allocations: 20.12 kB / 1.097 GB, free: 14.86 MB / 0.8575 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.0002324/0.4036, allocations: 245.6 kB / 1.097 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.4037, allocations: 27.72 kB / 1.097 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.405, allocations: 0.6403 MB / 1.098 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.405, allocations: 4 kB / 1.098 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.405, allocations: 0 / 1.098 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.405, allocations: 7.984 kB / 1.098 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.4071, allocations: 1.338 MB / 1.099 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4072, allocations: 7.922 kB / 1.099 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.4074, allocations: 67.95 kB / 1.099 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.4079, allocations: 159.3 kB / 1.1 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.4079, allocations: 11.98 kB / 1.1 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.4105, allocations: 3.965 MB / 1.104 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.4105, allocations: 7.922 kB / 1.104 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.4118, allocations: 0.7949 MB / 1.104 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.412, allocations: 144.7 kB / 1.104 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.412, allocations: 8 kB / 1.104 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.4123, allocations: 31.97 kB / 1.104 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/0.4124, allocations: 39.89 kB / 1.105 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4125, allocations: 12 kB / 1.105 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001631/0.4126, allocations: 168.5 kB / 1.105 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4126, allocations: 0 / 1.105 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007559/0.4134, allocations: 160 kB / 1.105 GB, free: 6.496 MB / 0.8575 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.0002195/0.4136, allocations: 147 kB / 1.105 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.4156, allocations: 1.193 MB / 1.106 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4156, allocations: 0 / 1.106 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007096/0.4163, allocations: 0.4902 MB / 1.107 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.4169, allocations: 65.59 kB / 1.107 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.4182, allocations: 0.8915 MB / 1.108 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.4185, allocations: 0.8122 MB / 1.108 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003392/0.4189, allocations: 118.9 kB / 1.108 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.419, allocations: 23.44 kB / 1.108 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.419, allocations: 0 / 1.108 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of Templates: time 0.0102/0.4292, allocations: 5.642 MB / 1.114 GB, free: 12.98 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)