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.0008629/0.0008629, allocations: 96.42 kB / 15.69 MB, free: 480 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.0008279/0.0008279, allocations: 174.7 kB / 16.57 MB, free: 6.398 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.218/1.218, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6039/0.6039, allocations: 113.7 MB / 405.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002748, allocations: 9.438 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.002939/0.1212, allocations: 2.845 MB / 0.5595 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.1235, allocations: 1.966 MB / 0.5614 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.1236, allocations: 7.938 kB / 0.5614 GB, free: 6.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.1237, allocations: 39.77 kB / 0.5615 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.1241, allocations: 155.5 kB / 0.5616 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.1246, allocations: 215.4 kB / 0.5618 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.1248, allocations: 227.5 kB / 0.5621 GB, free: 6.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.1252, allocations: 313.4 kB / 0.5624 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1254, allocations: 107.6 kB / 0.5625 GB, free: 5.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1256, allocations: 127.5 kB / 0.5626 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1256, allocations: 12 kB / 0.5626 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.126, allocations: 255.6 kB / 0.5628 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.1261, allocations: 83.73 kB / 0.5629 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.1261, allocations: 73.52 kB / 0.563 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.1265, allocations: 371.1 kB / 0.5633 GB, free: 4.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1265, allocations: 0 / 0.5633 GB, free: 4.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1265, allocations: 0 / 0.5633 GB, free: 4.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1265, allocations: 0 / 0.5633 GB, free: 4.871 MB / 430.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.0007087/0.1272, allocations: 0.5689 MB / 0.5639 GB, free: 4.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1273, allocations: 8.031 kB / 0.5639 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.112e-05/0.1273, allocations: 62.47 kB / 0.564 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008178/0.1282, allocations: 135.5 kB / 0.5641 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.1285, allocations: 258.6 kB / 0.5643 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1285, allocations: 24.44 kB / 0.5644 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.1285, allocations: 19.98 kB / 0.5644 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.1291, allocations: 419.5 kB / 0.5648 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1291, allocations: 0 / 0.5648 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.1292, allocations: 8 kB / 0.5648 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/0.1292, allocations: 40.47 kB / 0.5648 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005587/0.1298, allocations: 354 kB / 0.5652 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.1318, allocations: 2.058 MB / 0.5672 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.1325, allocations: 365.5 kB / 0.5675 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.119e-05/0.1326, allocations: 89.28 kB / 0.5676 GB, free: 152 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1327, allocations: 34.75 kB / 0.5676 GB, free: 108 kB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.1327, allocations: 0 / 0.5676 GB, free: 108 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.004592/0.1373, allocations: 1.788 MB / 0.5694 GB, free: 14.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1373, allocations: 81.11 kB / 0.5695 GB, free: 14.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1375, allocations: 236.8 kB / 0.5697 GB, free: 13.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.1375, allocations: 37.7 kB / 0.5697 GB, free: 13.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.1376, allocations: 168.1 kB / 0.5699 GB, free: 13.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.887e-05/0.1377, allocations: 122.3 kB / 0.57 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.1377, allocations: 8 kB / 0.57 GB, free: 13.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.1378, allocations: 342.8 kB / 0.5703 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.1382, allocations: 208.7 kB / 0.5705 GB, free: 13.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.1386, allocations: 304.2 kB / 0.5708 GB, free: 12.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.139, allocations: 252.2 kB / 0.5711 GB, free: 12.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.139, allocations: 0 / 0.5711 GB, free: 12.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001148/0.1402, allocations: 0.6884 MB / 0.5717 GB, free: 11.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003084/0.1405, allocations: 1.13 MB / 0.5728 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1405, allocations: 8 kB / 0.5728 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.1409, allocations: 143.3 kB / 0.573 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.1413, allocations: 103.8 kB / 0.5731 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.1437, allocations: 3.973 MB / 0.577 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.144, allocations: 43.91 kB / 0.577 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.144, allocations: 20.25 kB / 0.577 GB, free: 5.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.144, allocations: 4 kB / 0.577 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001087/0.1451, allocations: 0.6196 MB / 0.5776 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1451, allocations: 4.188 kB / 0.5776 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003445/0.1455, allocations: 147.2 kB / 0.5778 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.1459, allocations: 95.88 kB / 0.5779 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004957/0.1464, allocations: 1.112 MB / 0.579 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.1467, allocations: 39.97 kB / 0.579 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.1467, allocations: 20.17 kB / 0.579 GB, free: 3.816 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.1469, allocations: 255 kB / 0.5793 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.147, allocations: 27.72 kB / 0.5793 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.1481, allocations: 0.6399 MB / 0.5799 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1481, allocations: 4 kB / 0.5799 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1481, allocations: 4 kB / 0.5799 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1481, allocations: 0 / 0.5799 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.1499, allocations: 1.234 MB / 0.5811 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.15, allocations: 0 / 0.5811 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.1502, allocations: 76.05 kB / 0.5812 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/0.1506, allocations: 151.3 kB / 0.5813 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.1507, allocations: 11.94 kB / 0.5813 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2079/0.3585, allocations: 3.986 MB / 0.5852 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3586, allocations: 3.625 kB / 0.5852 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.3598, allocations: 0.8974 MB / 0.5861 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.3599, allocations: 140 kB / 0.5863 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.36, allocations: 9.75 kB / 0.5863 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.3603, allocations: 35.47 kB / 0.5863 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.3604, allocations: 37.44 kB / 0.5863 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.3604, allocations: 15.06 kB / 0.5863 GB, free: 29.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.3606, allocations: 169.2 kB / 0.5865 GB, free: 29.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3606, allocations: 0 / 0.5865 GB, free: 29.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006969/0.3613, allocations: 160.8 kB / 0.5867 GB, free: 29.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001386/0.3627, allocations: 2.006 MB / 0.5886 GB, free: 27.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.3646, allocations: 1.226 MB / 0.5898 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3646, allocations: 0 / 0.5898 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006627/0.3653, allocations: 0.4903 MB / 0.5903 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.3657, allocations: 53.94 kB / 0.5903 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.369, allocations: 4.085 MB / 0.5943 GB, free: 24.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.3693, allocations: 0.8114 MB / 0.5951 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003334/0.3696, allocations: 122.3 kB / 0.5952 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3697, allocations: 92.94 kB / 0.5953 GB, free: 23.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3697, allocations: 0 / 0.5953 GB, free: 23.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.503/3.873, allocations: 8.227 MB / 0.6034 GB, free: 22.67 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/3.873, allocations: 225.1 kB / 0.6036 GB, free: 22.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/5.383, allocations: 0 / 0.6036 GB, free: 22.43 MB / 446.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/linux/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) Environment - environmentSimulation: