Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",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.001011/0.001011, allocations: 99.05 kB / 16.02 MB, free: 80 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.001055/0.001055, allocations: 185.2 kB / 16.92 MB, free: 6.77 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.162/1.162, allocations: 223.3 MB / 241 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.5978/0.5978, allocations: 115.5 MB / 407.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.000264, allocations: 12.5 kB / 496 MB, free: 6.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 77.53 MB / 0.5601 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002555/0.1117, allocations: 2.416 MB / 0.5624 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.1142, allocations: 1.996 MB / 0.5644 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.997e-05/0.1143, allocations: 7.938 kB / 0.5644 GB, free: 4.461 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.1145, allocations: 27.78 kB / 0.5644 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.1149, allocations: 183.3 kB / 0.5646 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.1154, allocations: 243.5 kB / 0.5648 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.1158, allocations: 458.8 kB / 0.5652 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005256/0.1164, allocations: 373.7 kB / 0.5656 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.1165, allocations: 103.6 kB / 0.5657 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.1168, allocations: 147.5 kB / 0.5658 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.1168, allocations: 8 kB / 0.5658 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.1174, allocations: 451.1 kB / 0.5663 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.1175, allocations: 79.78 kB / 0.5663 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1176, allocations: 129.2 kB / 0.5665 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.1181, allocations: 466.6 kB / 0.5669 GB, free: 1.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1181, allocations: 4 kB / 0.5669 GB, free: 1.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1181, allocations: 4 kB / 0.5669 GB, free: 1.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1181, allocations: 0 / 0.5669 GB, free: 1.805 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006937/0.1188, allocations: 0.5224 MB / 0.5674 GB, free: 1.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.1188, allocations: 8.031 kB / 0.5674 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.1189, allocations: 54.73 kB / 0.5675 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.1195, allocations: 116.5 kB / 0.5676 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.1198, allocations: 256.5 kB / 0.5679 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1198, allocations: 16.81 kB / 0.5679 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.1199, allocations: 19.94 kB / 0.5679 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.1204, allocations: 389.9 kB / 0.5683 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1204, allocations: 4 kB / 0.5683 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.1205, allocations: 4 kB / 0.5683 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.1205, allocations: 31.7 kB / 0.5683 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.1211, allocations: 367.7 kB / 0.5686 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1227, allocations: 1.741 MB / 0.5703 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.1233, allocations: 337 kB / 0.5707 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.1236, allocations: 190.4 kB / 0.5708 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.1237, allocations: 93.09 kB / 0.5709 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.1237, allocations: 34.5 kB / 0.571 GB, free: 13.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.1238, allocations: 4 kB / 0.571 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006919/0.1307, allocations: 2.072 MB / 0.573 GB, free: 11.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.1307, allocations: 81.11 kB / 0.5731 GB, free: 11.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1309, allocations: 178.6 kB / 0.5732 GB, free: 10.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.1309, allocations: 33.7 kB / 0.5733 GB, free: 10.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.131, allocations: 148.4 kB / 0.5734 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.768e-05/0.1311, allocations: 122.3 kB / 0.5735 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.1311, allocations: 33.7 kB / 0.5736 GB, free: 10.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.1312, allocations: 338.8 kB / 0.5739 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.1317, allocations: 251.8 kB / 0.5741 GB, free: 10.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.1322, allocations: 358.1 kB / 0.5745 GB, free: 9.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009425/0.1331, allocations: 0.619 MB / 0.5751 GB, free: 9.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1331, allocations: 0 / 0.5751 GB, free: 9.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001084/0.1342, allocations: 0.662 MB / 0.5757 GB, free: 8.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.1343, allocations: 162.7 kB / 0.5759 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1343, allocations: 0 / 0.5759 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1343, allocations: 4 kB / 0.5759 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.1351, allocations: 159.7 kB / 0.576 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1352, allocations: 4 kB / 0.576 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.1356, allocations: 55.92 kB / 0.5761 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.1356, allocations: 23.92 kB / 0.5761 GB, free: 7.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-06/0.1356, allocations: 4 kB / 0.5761 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001004/0.1366, allocations: 0.5892 MB / 0.5767 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.1366, allocations: 0 / 0.5767 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.523e-06/0.1366, allocations: 8.281 kB / 0.5767 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/0.1374, allocations: 151.8 kB / 0.5768 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1374, allocations: 4 kB / 0.5769 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.1378, allocations: 47.94 kB / 0.5769 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.1378, allocations: 23.98 kB / 0.5769 GB, free: 7.082 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.138, allocations: 254.2 kB / 0.5772 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.1381, allocations: 23.78 kB / 0.5772 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.1393, allocations: 0.6847 MB / 0.5779 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1393, allocations: 4 kB / 0.5779 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1393, allocations: 4 kB / 0.5779 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1393, allocations: 0 / 0.5779 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.1412, allocations: 1.383 MB / 0.5792 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1413, allocations: 4 kB / 0.5792 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.1418, allocations: 123.8 kB / 0.5793 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1418, allocations: 4 kB / 0.5793 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.1418, allocations: 11.94 kB / 0.5793 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.1419, allocations: 8.234 kB / 0.5794 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1419, allocations: 7.938 kB / 0.5794 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000921/0.1428, allocations: 0.7346 MB / 0.5801 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1429, allocations: 148.7 kB / 0.5802 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.143, allocations: 12 kB / 0.5802 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.1433, allocations: 39.95 kB / 0.5803 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.1434, allocations: 39.83 kB / 0.5803 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1434, allocations: 12 kB / 0.5803 GB, free: 3.426 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1435, allocations: 143.2 kB / 0.5805 GB, free: 3.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1435, allocations: 0 / 0.5805 GB, free: 3.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005429/0.1441, allocations: 144 kB / 0.5806 GB, free: 3.145 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.1453, allocations: 1.304 MB / 0.5819 GB, free: 1.789 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.1467, allocations: 0.8718 MB / 0.5827 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1467, allocations: 4.75 kB / 0.5827 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.1471, allocations: 268.2 kB / 0.583 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.1476, allocations: 46.53 kB / 0.583 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.19/0.3376, allocations: 3.947 MB / 0.5869 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.3379, allocations: 0.785 MB / 0.5876 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004827/0.3384, allocations: 166.2 kB / 0.5878 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.3385, allocations: 84.56 kB / 0.5879 GB, free: 28.59 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3386, allocations: 0 / 0.5879 GB, free: 28.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5049/0.8434, allocations: 6.738 MB / 0.5945 GB, free: 28.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.8436, allocations: 213.7 kB / 0.5947 GB, free: 28.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.697, allocations: 0.75 kB / 0.5947 GB, free: 28.04 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)