Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001119, allocations: 99.62 kB / 16.27 MB, free: 6.41 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.001046/0.001046, allocations: 185.1 kB / 17.2 MB, free: 5.953 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.292/1.292, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.707/0.707, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 0.4912 GB, free: 7.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3, allocations: 77.92 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004524/0.3046, allocations: 3.335 MB / 0.5705 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.3074, allocations: 2.169 MB / 0.5727 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.3076, allocations: 8.188 kB / 0.5727 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008027/0.3085, allocations: 281.1 kB / 0.5729 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005392/0.3091, allocations: 236.3 kB / 0.5732 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007916/0.3099, allocations: 298.5 kB / 0.5735 GB, free: 28.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004497/0.3103, allocations: 393 kB / 0.5738 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.3107, allocations: 201.1 kB / 0.574 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.3109, allocations: 153 kB / 0.5742 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.3112, allocations: 178.2 kB / 0.5743 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.3113, allocations: 22 kB / 0.5744 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006933/0.312, allocations: 437.2 kB / 0.5748 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3121, allocations: 96.42 kB / 0.5749 GB, free: 28.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.3123, allocations: 140.1 kB / 0.575 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008351/0.3131, allocations: 0.5128 MB / 0.5755 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3131, allocations: 0 / 0.5755 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.3131, allocations: 2.125 kB / 0.5755 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3132, allocations: 0 / 0.5755 GB, free: 27.84 MB / 446.1 MB 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.0009767/0.3141, allocations: 0.5994 MB / 0.5761 GB, free: 27.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.3142, allocations: 14.72 kB / 0.5761 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.739e-05/0.3143, allocations: 65.86 kB / 0.5762 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/0.3151, allocations: 118.4 kB / 0.5763 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.3154, allocations: 279 kB / 0.5765 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3155, allocations: 14.88 kB / 0.5766 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.3155, allocations: 27.45 kB / 0.5766 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.3161, allocations: 412.7 kB / 0.577 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3161, allocations: 1.984 kB / 0.577 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.3162, allocations: 11.53 kB / 0.577 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.957e-05/0.3162, allocations: 33.75 kB / 0.577 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005906/0.3168, allocations: 344.6 kB / 0.5774 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.3188, allocations: 2.059 MB / 0.5794 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.3195, allocations: 348.1 kB / 0.5797 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.3198, allocations: 189.9 kB / 0.5799 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.389e-05/0.3199, allocations: 89.23 kB / 0.58 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.32, allocations: 35.94 kB / 0.58 GB, free: 24.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.924e-06/0.32, allocations: 6.109 kB / 0.58 GB, free: 24.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.004475/0.3244, allocations: 1.578 MB / 0.5815 GB, free: 23.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.3245, allocations: 86.33 kB / 0.5816 GB, free: 23.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.3247, allocations: 238.2 kB / 0.5819 GB, free: 23.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3247, allocations: 31.8 kB / 0.5819 GB, free: 23.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.3248, allocations: 179.1 kB / 0.5821 GB, free: 23.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.3248, allocations: 119.9 kB / 0.5822 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3249, allocations: 82.03 kB / 0.5822 GB, free: 23.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.325, allocations: 337.2 kB / 0.5826 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.3253, allocations: 198.1 kB / 0.5828 GB, free: 22.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.3257, allocations: 303.1 kB / 0.583 GB, free: 22.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/0.3264, allocations: 0.5102 MB / 0.5835 GB, free: 22.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3264, allocations: 1.312 kB / 0.5835 GB, free: 22.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001059/0.3275, allocations: 0.6599 MB / 0.5842 GB, free: 21.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3275, allocations: 9.406 kB / 0.5842 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3275, allocations: 3.312 kB / 0.5842 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004202/0.3279, allocations: 146.4 kB / 0.5843 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.3283, allocations: 93.06 kB / 0.5844 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.3302, allocations: 4.18 MB / 0.5885 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.3305, allocations: 37.23 kB / 0.5885 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.3305, allocations: 13.47 kB / 0.5886 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004096/0.3309, allocations: 320.9 kB / 0.5889 GB, free: 17.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003416/0.3313, allocations: 304.4 kB / 0.5892 GB, free: 17.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006583/0.332, allocations: 0.5072 MB / 0.5897 GB, free: 16.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.564e-06/0.332, allocations: 1.281 kB / 0.5897 GB, free: 16.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001036/0.333, allocations: 0.6453 MB / 0.5903 GB, free: 16.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.333, allocations: 6.531 kB / 0.5903 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.333, allocations: 6.453 kB / 0.5903 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003415/0.3334, allocations: 145.5 kB / 0.5904 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.3337, allocations: 91.47 kB / 0.5905 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.3354, allocations: 4.182 MB / 0.5946 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.3358, allocations: 33.28 kB / 0.5946 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.3358, allocations: 20.59 kB / 0.5947 GB, free: 12.09 MB / 446.1 MB 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.000101/0.3359, allocations: 208.2 kB / 0.5949 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.336, allocations: 25.44 kB / 0.5949 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.337, allocations: 0.6056 MB / 0.5955 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.337, allocations: 4.344 kB / 0.5955 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.337, allocations: 1.062 kB / 0.5955 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3371, allocations: 3.984 kB / 0.5955 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.3388, allocations: 1.32 MB / 0.5968 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3388, allocations: 1.875 kB / 0.5968 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.3391, allocations: 64.23 kB / 0.5968 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003339/0.3394, allocations: 156.9 kB / 0.597 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.3395, allocations: 9 kB / 0.597 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.3412, allocations: 4.201 MB / 0.6011 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.3412, allocations: 11.53 kB / 0.6011 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000927/0.3421, allocations: 0.7635 MB / 0.6018 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.3423, allocations: 132.8 kB / 0.602 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.3423, allocations: 12 kB / 0.602 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.3426, allocations: 31.97 kB / 0.602 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.3427, allocations: 39.83 kB / 0.6021 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3427, allocations: 12 kB / 0.6021 GB, free: 5.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.3428, allocations: 168.5 kB / 0.6022 GB, free: 5.141 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3428, allocations: 4 kB / 0.6022 GB, free: 5.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006627/0.3435, allocations: 168 kB / 0.6024 GB, free: 4.973 MB / 446.1 MB 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.001064/0.3445, allocations: 1.344 MB / 0.6037 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.3462, allocations: 1.276 MB / 0.605 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3462, allocations: 0 / 0.605 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005565/0.3468, allocations: 494 kB / 0.6054 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.3473, allocations: 64.73 kB / 0.6055 GB, free: 1.668 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.3517, allocations: 3.881 MB / 0.6093 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.352, allocations: 0.8084 MB / 0.6101 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000299/0.3523, allocations: 114.9 kB / 0.6102 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3525, allocations: 87.41 kB / 0.6103 GB, free: 12.51 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3525, allocations: 0 / 0.6103 GB, free: 12.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5134/0.8659, allocations: 9.166 MB / 0.6192 GB, free: 3.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.48, allocations: 4.609 kB / 0.6192 GB, free: 3.566 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)