Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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 3.2.3+maint.om/package.mo", uses=false) 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 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(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",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.001388/0.001387, allocations: 98.61 kB / 16.93 MB, free: 6.445 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.00182/0.001821, allocations: 185.5 kB / 17.83 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004725, allocations: 15.44 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1156, allocations: 47.58 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003445/0.1191, allocations: 2.761 MB / 331.2 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1206, allocations: 0.87 MB / 332.1 MB, free: 340 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.1208, allocations: 11.94 kB / 332.1 MB, free: 328 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.1209, allocations: 39.67 kB / 332.1 MB, free: 288 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.1212, allocations: 139.6 kB / 332.3 MB, free: 148 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1215, allocations: 103.8 kB / 332.4 MB, free: 44 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.1219, allocations: 339.2 kB / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.1222, allocations: 132.5 kB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1224, allocations: 155.4 kB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.1227, allocations: 179.1 kB / 333.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.1227, allocations: 20 kB / 333.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.144e-05/0.1228, allocations: 16 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.1229, allocations: 71.73 kB / 333.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.123, allocations: 105.4 kB / 333.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.1234, allocations: 378.9 kB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1234, allocations: 0 / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1234, allocations: 4 kB / 333.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1234, allocations: 0 / 333.7 MB, free: 14.65 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001135/0.1245, allocations: 0.6481 MB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1246, allocations: 16.03 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.398e-05/0.1247, allocations: 78.47 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.1248, allocations: 47.44 kB / 334.5 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.1252, allocations: 319.2 kB / 334.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.1252, allocations: 29 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.1253, allocations: 36 kB / 334.9 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.1259, allocations: 383.1 kB / 335.3 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.126, allocations: 4 kB / 335.3 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.126, allocations: 12 kB / 335.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.126, allocations: 12 kB / 335.3 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.1265, allocations: 258.4 kB / 335.5 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.1286, allocations: 1.49 MB / 337 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.129, allocations: 239.4 kB / 337.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.1291, allocations: 4.234 kB / 337.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/0.1295, allocations: 241.1 kB / 337.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.462e-06/0.1295, allocations: 0 / 337.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001362/0.1309, allocations: 0.5771 MB / 338.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.1309, allocations: 85.11 kB / 338.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.1312, allocations: 300.4 kB / 338.5 MB, free: 9.633 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.1313, allocations: 37.7 kB / 338.5 MB, free: 9.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.1314, allocations: 208.4 kB / 338.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.1315, allocations: 102.5 kB / 338.8 MB, free: 9.281 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.1315, allocations: 4 kB / 338.8 MB, free: 9.277 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1317, allocations: 346.8 kB / 339.1 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.1319, allocations: 92.72 kB / 339.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.1322, allocations: 224.8 kB / 339.5 MB, free: 8.566 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.1324, allocations: 116 kB / 339.6 MB, free: 8.453 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1324, allocations: 3.938 kB / 339.6 MB, free: 8.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006901/0.1331, allocations: 425.5 kB / 340 MB, free: 8.023 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1331, allocations: 8 kB / 340 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1332, allocations: 4.469 kB / 340 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003031/0.1335, allocations: 88.7 kB / 340.1 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.1337, allocations: 59.91 kB / 340.1 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.1356, allocations: 1.823 MB / 342 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.1358, allocations: 35.8 kB / 342 MB, free: 5.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.1359, allocations: 20 kB / 342 MB, free: 5.844 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.1361, allocations: 177.6 kB / 342.2 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.1362, allocations: 31.62 kB / 342.2 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.1362, allocations: 35.09 kB / 342.3 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1362, allocations: 0 / 342.3 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1363, allocations: 0 / 342.3 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1363, allocations: 4 kB / 342.3 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.1367, allocations: 417.2 kB / 342.7 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1367, allocations: 3.953 kB / 342.7 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.1369, allocations: 35.91 kB / 342.7 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/0.1371, allocations: 72.81 kB / 342.8 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.1372, allocations: 8.188 kB / 342.8 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.1389, allocations: 1.831 MB / 344.6 MB, free: 3.051 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1389, allocations: 7.922 kB / 344.6 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.1398, allocations: 0.5068 MB / 345.1 MB, free: 2.516 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.1399, allocations: 136.7 kB / 345.3 MB, free: 2.363 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.14, allocations: 11.95 kB / 345.3 MB, free: 2.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.1402, allocations: 15.98 kB / 345.3 MB, free: 2.336 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.1402, allocations: 23.97 kB / 345.3 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.1403, allocations: 11.98 kB / 345.3 MB, free: 2.301 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.1405, allocations: 207.1 kB / 345.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1405, allocations: 0 / 345.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004621/0.141, allocations: 111.7 kB / 345.6 MB, free: 1.992 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.1422, allocations: 1.054 MB / 346.7 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008685/0.1431, allocations: 422.5 kB / 347.1 MB, free: 492 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.1431, allocations: 0.875 kB / 347.1 MB, free: 492 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.1436, allocations: 302.8 kB / 347.4 MB, free: 176 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1439, allocations: 48.75 kB / 347.5 MB, free: 124 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.1471, allocations: 3.608 MB / 351.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.1476, allocations: 0.8067 MB / 351.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.1478, allocations: 39.23 kB / 351.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.1479, allocations: 119.4 kB / 352 MB, free: 11.4 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1479, allocations: 0 / 352 MB, free: 11.4 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.1687, allocations: 7.217 MB / 359.2 MB, free: 4.184 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/0.169, allocations: 255.2 kB / 359.5 MB, free: 3.832 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/1.978, allocations: 3.938 kB / 359.5 MB, free: 3.828 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat