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.0007713/0.0007713, allocations: 92.95 kB / 16.02 MB, free: 84 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.0008386/0.0008385, allocations: 182 kB / 16.91 MB, free: 6.914 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.256/1.256, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6386/0.6386, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.0002718, allocations: 8 kB / 496 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 77.53 MB / 0.5601 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003308/0.1179, allocations: 3.008 MB / 0.563 GB, free: 5.922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.1207, allocations: 2.144 MB / 0.5651 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1209, allocations: 7.938 kB / 0.5651 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.1211, allocations: 35.7 kB / 0.5651 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.1216, allocations: 227.1 kB / 0.5653 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.1222, allocations: 267.3 kB / 0.5656 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.1227, allocations: 0.5298 MB / 0.5661 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.1231, allocations: 336.2 kB / 0.5664 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.1233, allocations: 131.4 kB / 0.5666 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.1236, allocations: 175.4 kB / 0.5667 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.1236, allocations: 12 kB / 0.5667 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.1243, allocations: 0.4951 MB / 0.5672 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.616e-05/0.1244, allocations: 87.7 kB / 0.5673 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1245, allocations: 153 kB / 0.5675 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.1251, allocations: 0.5218 MB / 0.568 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1251, allocations: 0 / 0.568 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1251, allocations: 0 / 0.568 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1251, allocations: 0 / 0.568 GB, free: 0.7773 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.0007597/0.1258, allocations: 0.5691 MB / 0.5685 GB, free: 164 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1259, allocations: 8.031 kB / 0.5685 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.1259, allocations: 58.72 kB / 0.5686 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007927/0.1267, allocations: 124.5 kB / 0.5687 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.127, allocations: 263.7 kB / 0.569 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1271, allocations: 24.8 kB / 0.569 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.1271, allocations: 24.31 kB / 0.569 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.1277, allocations: 423.7 kB / 0.5694 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1277, allocations: 3.938 kB / 0.5694 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.1277, allocations: 11.98 kB / 0.5694 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-05/0.1278, allocations: 32.55 kB / 0.5694 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/0.1284, allocations: 357.9 kB / 0.5698 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.1304, allocations: 2.058 MB / 0.5718 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/0.1311, allocations: 363.1 kB / 0.5721 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.1315, allocations: 205.5 kB / 0.5723 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.973e-05/0.1316, allocations: 81.11 kB / 0.5724 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1316, allocations: 38.56 kB / 0.5725 GB, free: 11.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.1316, allocations: 0 / 0.5725 GB, free: 11.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.004807/0.1364, allocations: 1.75 MB / 0.5742 GB, free: 10.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.1365, allocations: 93.08 kB / 0.5743 GB, free: 9.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1367, allocations: 229 kB / 0.5745 GB, free: 9.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.1367, allocations: 33.7 kB / 0.5745 GB, free: 9.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.681e-05/0.1368, allocations: 180 kB / 0.5747 GB, free: 9.465 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/0.1369, allocations: 122.3 kB / 0.5748 GB, free: 9.344 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.137, allocations: 37.7 kB / 0.5748 GB, free: 9.301 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.1371, allocations: 338.8 kB / 0.5751 GB, free: 8.961 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.1375, allocations: 204.7 kB / 0.5753 GB, free: 8.758 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.1379, allocations: 313.1 kB / 0.5756 GB, free: 8.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008114/0.1387, allocations: 0.527 MB / 0.5762 GB, free: 7.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1387, allocations: 0 / 0.5762 GB, free: 7.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001206/0.14, allocations: 0.6818 MB / 0.5768 GB, free: 7.141 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.093e-05/0.1401, allocations: 181.4 kB / 0.577 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1401, allocations: 8 kB / 0.577 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004437/0.1405, allocations: 139.3 kB / 0.5771 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.1409, allocations: 103.9 kB / 0.5772 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.1433, allocations: 3.953 MB / 0.5811 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.1436, allocations: 31.97 kB / 0.5811 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.1436, allocations: 24.14 kB / 0.5812 GB, free: 2.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.1437, allocations: 4 kB / 0.5812 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001114/0.1448, allocations: 0.6317 MB / 0.5818 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.1448, allocations: 8.25 kB / 0.5818 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/0.1452, allocations: 139.3 kB / 0.5819 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.1455, allocations: 91.88 kB / 0.582 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005204/0.1461, allocations: 1.116 MB / 0.5831 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.1463, allocations: 40.09 kB / 0.5831 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1464, allocations: 23.98 kB / 0.5832 GB, free: 216 kB / 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.1926/0.339, allocations: 244.1 kB / 0.5834 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.562e-05/0.3391, allocations: 27 kB / 0.5834 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.3404, allocations: 0.6242 MB / 0.584 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3404, allocations: 5.625 kB / 0.584 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3404, allocations: 1.531 kB / 0.584 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3404, allocations: 3.625 kB / 0.584 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.3423, allocations: 1.336 MB / 0.5853 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3423, allocations: 1.844 kB / 0.5853 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.3426, allocations: 66.94 kB / 0.5854 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003959/0.343, allocations: 156.8 kB / 0.5855 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.343, allocations: 14.38 kB / 0.5856 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.3448, allocations: 3.966 MB / 0.5894 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3448, allocations: 7.734 kB / 0.5894 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3459, allocations: 0.7886 MB / 0.5902 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.346, allocations: 140.5 kB / 0.5903 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.346, allocations: 10.34 kB / 0.5904 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.3463, allocations: 39.11 kB / 0.5904 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.3464, allocations: 34.17 kB / 0.5904 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3465, allocations: 12.91 kB / 0.5904 GB, free: 25.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.3466, allocations: 173.2 kB / 0.5906 GB, free: 25.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3466, allocations: 2.594 kB / 0.5906 GB, free: 25.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006665/0.3473, allocations: 157.9 kB / 0.5908 GB, free: 25.23 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.001302/0.3486, allocations: 1.366 MB / 0.5921 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.3503, allocations: 1.209 MB / 0.5933 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3503, allocations: 1.031 kB / 0.5933 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.351, allocations: 495.6 kB / 0.5937 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.3515, allocations: 66.03 kB / 0.5938 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.3561, allocations: 4.078 MB / 0.5978 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3564, allocations: 0.8036 MB / 0.5986 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003279/0.3567, allocations: 120.6 kB / 0.5987 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3568, allocations: 89.17 kB / 0.5988 GB, free: 20.18 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.3569, allocations: 0 / 0.5988 GB, free: 20.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6698/1.027, allocations: 8.334 MB / 0.6069 GB, free: 18.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001256/1.027, allocations: 250.3 kB / 0.6072 GB, free: 18.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.758, allocations: 0 / 0.6072 GB, free: 18.64 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/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)