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.001516/0.001516, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 62.12 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3062, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.0048/0.3111, allocations: 3.352 MB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003154/0.3143, allocations: 2.162 MB / 1.074 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.3144, allocations: 7.938 kB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009137/0.3154, allocations: 290.8 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005012/0.3159, allocations: 234.9 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007118/0.3166, allocations: 306.9 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003689/0.317, allocations: 382.7 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.3174, allocations: 206.8 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.3176, allocations: 155.5 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.3179, allocations: 183.3 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.3179, allocations: 24 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006259/0.3186, allocations: 431.1 kB / 1.076 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3187, allocations: 103.7 kB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.3188, allocations: 135.2 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.3194, allocations: 0.5025 MB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3194, allocations: 0 / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3194, allocations: 0 / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3194, allocations: 0 / 1.076 GB, free: 1.957 MB / 0.8262 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.0009577/0.3204, allocations: 0.6236 MB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3204, allocations: 8.031 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008331/0.3213, allocations: 116.4 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.3216, allocations: 276.3 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3216, allocations: 12.81 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.3217, allocations: 24.38 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/0.3223, allocations: 419.8 kB / 1.078 GB, free: 384 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3224, allocations: 3.938 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.3224, allocations: 8 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/0.3225, allocations: 36.53 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.3231, allocations: 346 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.3253, allocations: 2.046 MB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007595/0.3261, allocations: 357 kB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.3265, allocations: 197.6 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.3266, allocations: 85.09 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3266, allocations: 38.56 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.3266, allocations: 0 / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.004866/0.3315, allocations: 1.572 MB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3316, allocations: 89.27 kB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.3318, allocations: 233 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3318, allocations: 33.7 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3319, allocations: 187.9 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.305e-05/0.332, allocations: 118.3 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.3322, allocations: 78.03 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3323, allocations: 338.8 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.3327, allocations: 198.5 kB / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.3331, allocations: 297.1 kB / 1.084 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008178/0.3339, allocations: 0.5118 MB / 1.084 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3339, allocations: 0 / 1.084 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001245/0.3352, allocations: 0.6686 MB / 1.085 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3352, allocations: 4 kB / 1.085 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3352, allocations: 7.984 kB / 1.085 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.3357, allocations: 143.5 kB / 1.085 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.3361, allocations: 95.81 kB / 1.085 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.3389, allocations: 4.166 MB / 1.089 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.3393, allocations: 35.86 kB / 1.089 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.3393, allocations: 31.88 kB / 1.089 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005176/0.3398, allocations: 321 kB / 1.09 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004257/0.3403, allocations: 301 kB / 1.09 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008036/0.3411, allocations: 0.5153 MB / 1.091 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.015e-06/0.3411, allocations: 4 kB / 1.091 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001213/0.3423, allocations: 0.6409 MB / 1.091 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.3423, allocations: 4 kB / 1.091 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3424, allocations: 4 kB / 1.091 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003991/0.3428, allocations: 151.4 kB / 1.091 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.3431, allocations: 91.88 kB / 1.091 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.3459, allocations: 4.17 MB / 1.095 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.3462, allocations: 35.97 kB / 1.095 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.3463, allocations: 20.08 kB / 1.096 GB, free: 13.03 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.0001755/0.3464, allocations: 208.1 kB / 1.096 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.3465, allocations: 27.62 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.3478, allocations: 0.6167 MB / 1.096 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3478, allocations: 4 kB / 1.096 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3478, allocations: 0 / 1.096 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3478, allocations: 3.984 kB / 1.096 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.3499, allocations: 1.319 MB / 1.098 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3499, allocations: 4 kB / 1.098 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.3501, allocations: 64.14 kB / 1.098 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003893/0.3505, allocations: 147.3 kB / 1.098 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.3506, allocations: 16 kB / 1.098 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/0.3533, allocations: 4.19 MB / 1.102 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3533, allocations: 8.188 kB / 1.102 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.3544, allocations: 0.7791 MB / 1.103 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.3546, allocations: 140.7 kB / 1.103 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.3546, allocations: 8 kB / 1.103 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.3549, allocations: 35.95 kB / 1.103 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/0.355, allocations: 23.97 kB / 1.103 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.355, allocations: 15.94 kB / 1.103 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001473/0.3552, allocations: 168.5 kB / 1.103 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3552, allocations: 4 kB / 1.103 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007595/0.356, allocations: 168 kB / 1.103 GB, free: 4.547 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.000215/0.3562, allocations: 138.3 kB / 1.103 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002102/0.3583, allocations: 1.273 MB / 1.105 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3583, allocations: 0 / 1.105 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007024/0.359, allocations: 487.2 kB / 1.105 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.3596, allocations: 62.81 kB / 1.105 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.3608, allocations: 0.7605 MB / 1.106 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.3612, allocations: 0.8084 MB / 1.107 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003202/0.3615, allocations: 110.9 kB / 1.107 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.3616, allocations: 27.44 kB / 1.107 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3616, allocations: 0 / 1.107 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of Templates: time 0.01065/0.3722, allocations: 6.309 MB / 1.113 GB, free: 10.47 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)