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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.946/1.946, allocations: 292.3 MB / 308.1 MB, free: 4.258 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.001408/0.001409, allocations: 188.4 kB / 376.9 MB, free: 1.77 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.007/2.007, allocations: 205.1 MB / 0.6354 GB, free: 9.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 105.6 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3355, allocations: 114.6 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.006107/0.3417, allocations: 3.384 MB / 0.9855 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003941/0.3456, allocations: 2.234 MB / 0.9877 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.346, allocations: 7.938 kB / 0.9877 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.3471, allocations: 267.1 kB / 0.988 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007464/0.3478, allocations: 223.1 kB / 0.9882 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009039/0.3487, allocations: 255.4 kB / 0.9884 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.3493, allocations: 0.5336 MB / 0.989 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003973/0.3497, allocations: 169 kB / 0.9891 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.3499, allocations: 135.4 kB / 0.9892 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.3503, allocations: 179.4 kB / 0.9894 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.3503, allocations: 16 kB / 0.9894 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008167/0.3511, allocations: 0.4951 MB / 0.9899 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.3513, allocations: 91.7 kB / 0.99 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.3514, allocations: 139.3 kB / 0.9901 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.3521, allocations: 0.518 MB / 0.9906 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3521, allocations: 4 kB / 0.9906 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3521, allocations: 0 / 0.9906 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.3521, allocations: 0 / 0.9906 GB, free: 1.68 MB / 0.7136 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.3533, allocations: 0.6041 MB / 0.9912 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.3533, allocations: 8.031 kB / 0.9912 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/0.3541, allocations: 128.4 kB / 0.9914 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.3545, allocations: 267.8 kB / 0.9916 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3545, allocations: 16.81 kB / 0.9916 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.3546, allocations: 24.3 kB / 0.9917 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/0.3553, allocations: 419.9 kB / 0.9921 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3553, allocations: 3.938 kB / 0.9921 GB, free: 112 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.3553, allocations: 8 kB / 0.9921 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/0.3554, allocations: 36.53 kB / 0.9921 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006068/0.356, allocations: 342 kB / 0.9924 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.3585, allocations: 2.054 MB / 0.9944 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000763/0.3592, allocations: 367.6 kB / 0.9948 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.3596, allocations: 185.5 kB / 0.995 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.3598, allocations: 93.09 kB / 0.9951 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3598, allocations: 34.56 kB / 0.9951 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.3598, allocations: 0 / 0.9951 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.004742/0.3646, allocations: 1.582 MB / 0.9966 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3646, allocations: 85.05 kB / 0.9967 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.3649, allocations: 232.9 kB / 0.9969 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3649, allocations: 29.7 kB / 0.997 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.365, allocations: 188 kB / 0.9971 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.3651, allocations: 114.3 kB / 0.9973 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3653, allocations: 82.05 kB / 0.9973 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3654, allocations: 330.8 kB / 0.9976 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.3658, allocations: 206.5 kB / 0.9978 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.3662, allocations: 309.1 kB / 0.9981 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/0.367, allocations: 0.5075 MB / 0.9986 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3671, allocations: 0 / 0.9986 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001235/0.3683, allocations: 0.6599 MB / 0.9993 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3683, allocations: 4 kB / 0.9993 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3683, allocations: 4 kB / 0.9993 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.3689, allocations: 143.7 kB / 0.9994 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.3693, allocations: 91.81 kB / 0.9995 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/0.3724, allocations: 3.954 MB / 1.003 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.3727, allocations: 35.91 kB / 1.003 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.3728, allocations: 12 kB / 1.003 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005035/0.3733, allocations: 320.8 kB / 1.004 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004457/0.3737, allocations: 301.2 kB / 1.004 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008231/0.3746, allocations: 0.5076 MB / 1.005 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.3746, allocations: 0 / 1.005 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001276/0.3759, allocations: 0.6564 MB / 1.005 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3759, allocations: 12.03 kB / 1.005 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3759, allocations: 4 kB / 1.005 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004327/0.3764, allocations: 143.3 kB / 1.005 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.3767, allocations: 95.88 kB / 1.005 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/0.3796, allocations: 3.95 MB / 1.009 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.38, allocations: 39.95 kB / 1.009 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.38, allocations: 12 kB / 1.009 GB, free: 13.25 MB / 0.7448 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.0002124/0.3802, allocations: 212.2 kB / 1.01 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.3803, allocations: 27.62 kB / 1.01 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.3816, allocations: 0.6087 MB / 1.01 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3816, allocations: 4 kB / 1.01 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3816, allocations: 4 kB / 1.01 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3816, allocations: 3.984 kB / 1.01 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.384, allocations: 1.318 MB / 1.011 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.384, allocations: 4 kB / 1.011 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.3842, allocations: 59.89 kB / 1.011 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004255/0.3847, allocations: 147.6 kB / 1.012 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.3847, allocations: 12 kB / 1.012 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003018/0.3878, allocations: 3.969 MB / 1.016 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3878, allocations: 4 kB / 1.016 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.3898, allocations: 1.576 MB / 1.017 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.39, allocations: 144.7 kB / 1.017 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.3901, allocations: 8 kB / 1.017 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.3904, allocations: 27.97 kB / 1.017 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3905, allocations: 31.89 kB / 1.017 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.3905, allocations: 16 kB / 1.017 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001716/0.3907, allocations: 172.4 kB / 1.017 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3907, allocations: 0 / 1.017 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001036/0.3918, allocations: 164 kB / 1.018 GB, free: 4.184 MB / 0.7448 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.000306/0.3921, allocations: 147 kB / 1.018 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002341/0.3944, allocations: 1.237 MB / 1.019 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.3945, allocations: 4 kB / 1.019 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.3952, allocations: 486.1 kB / 1.019 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/0.3958, allocations: 60.38 kB / 1.019 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.3975, allocations: 1.12 MB / 1.021 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.3981, allocations: 0.8239 MB / 1.021 GB, free: 140 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000387/0.3985, allocations: 114.9 kB / 1.021 GB, free: 24 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.3985, allocations: 23.44 kB / 1.021 GB, free: 0 / 0.7448 GB Notification: Performance of SimCode: time 6.893e-06/0.9701, allocations: 0.5469 kB / 1.021 GB, free: 96.76 MB / 0.7448 GB Notification: Performance of Templates: time 0.01931/0.9894, allocations: 6.205 MB / 1.028 GB, free: 96.69 MB / 0.7448 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)