Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 97.34 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 191.7 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002735, allocations: 8 kB / 306.8 MB, free: 1.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 51.49 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00382/0.1064, allocations: 3.225 MB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1082, allocations: 0.9314 MB / 362.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.1085, allocations: 11.94 kB / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1087, allocations: 51.55 kB / 362.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.109, allocations: 123 kB / 362.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.1093, allocations: 111.8 kB / 362.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005938/0.11, allocations: 0.5563 MB / 363.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/0.1103, allocations: 169.6 kB / 363.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.1107, allocations: 183.2 kB / 363.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.111, allocations: 207 kB / 363.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.1111, allocations: 24 kB / 363.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.1112, allocations: 32 kB / 363.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.721e-05/0.1113, allocations: 79.61 kB / 364 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1114, allocations: 117.5 kB / 364.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.1119, allocations: 486.6 kB / 364.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1119, allocations: 0 / 364.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1119, allocations: 0 / 364.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1119, allocations: 0 / 364.6 MB, free: 7.676 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001148/0.1131, allocations: 0.7026 MB / 365.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.1132, allocations: 11.97 kB / 365.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.1133, allocations: 90.45 kB / 365.4 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.1135, allocations: 67.33 kB / 365.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006451/0.1142, allocations: 343.8 kB / 365.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.1142, allocations: 41 kB / 365.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/0.1143, allocations: 47.94 kB / 365.9 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.1154, allocations: 457.5 kB / 366.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1154, allocations: 0 / 366.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.1155, allocations: 16 kB / 366.3 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.1155, allocations: 16 kB / 366.4 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.1162, allocations: 323.7 kB / 366.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.1195, allocations: 1.887 MB / 368.6 MB, free: 3.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.1206, allocations: 0.6197 MB / 369.2 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.1211, allocations: 269.8 kB / 369.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.1212, allocations: 8.328 kB / 369.5 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/0.1217, allocations: 269.1 kB / 369.7 MB, free: 2.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.255e-06/0.1217, allocations: 0 / 369.7 MB, free: 2.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002346/0.124, allocations: 0.8422 MB / 370.6 MB, free: 1.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.389e-05/0.1241, allocations: 89.05 kB / 370.6 MB, free: 1.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004452/0.1246, allocations: 320.5 kB / 371 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.1246, allocations: 33.7 kB / 371 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.1249, allocations: 216.4 kB / 371.2 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.1251, allocations: 142 kB / 371.3 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.1251, allocations: 8 kB / 371.3 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1253, allocations: 354.8 kB / 371.7 MB, free: 200 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.1255, allocations: 125 kB / 371.8 MB, free: 72 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2206/0.3461, allocations: 247.1 kB / 372.1 MB, free: 19.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.3465, allocations: 147.3 kB / 372.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3465, allocations: 1.812 kB / 372.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001024/0.3476, allocations: 0.5166 MB / 372.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.3476, allocations: 6.719 kB / 372.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3476, allocations: 4.688 kB / 372.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.3481, allocations: 143.9 kB / 372.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.3483, allocations: 71.28 kB / 372.9 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.351, allocations: 2.301 MB / 375.2 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.3513, allocations: 50.45 kB / 375.3 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.3513, allocations: 18.67 kB / 375.3 MB, free: 17.97 MB / 302.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: 13 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002165/0.3515, allocations: 176.2 kB / 375.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.3516, allocations: 42.55 kB / 375.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.424e-05/0.3517, allocations: 48.25 kB / 375.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3517, allocations: 7.844 kB / 375.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3517, allocations: 0 / 375.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3517, allocations: 3.375 kB / 375.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.3532, allocations: 1.035 MB / 376.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.3532, allocations: 0 / 376.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.3534, allocations: 40.14 kB / 376.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.3538, allocations: 149 kB / 376.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.3538, allocations: 11.39 kB / 376.8 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/0.3561, allocations: 2.302 MB / 379.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3561, allocations: 0 / 379.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3572, allocations: 0.7149 MB / 379.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.3573, allocations: 147.7 kB / 380 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.3574, allocations: 11.33 kB / 380 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.3576, allocations: 23.03 kB / 380 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.3577, allocations: 37.03 kB / 380 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.3578, allocations: 11.17 kB / 380.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.358, allocations: 222.5 kB / 380.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.358, allocations: 1.469 kB / 380.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006895/0.3587, allocations: 144.4 kB / 380.4 MB, free: 14.7 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001373/0.3601, allocations: 1.289 MB / 381.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.3612, allocations: 0.5287 MB / 382.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3613, allocations: 5.25 kB / 382.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.3618, allocations: 364.9 kB / 382.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.3623, allocations: 92.94 kB / 382.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.3665, allocations: 2.5 MB / 385.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.3671, allocations: 0.8328 MB / 386 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000229/0.3673, allocations: 39.17 kB / 386.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.3675, allocations: 144.7 kB / 386.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3676, allocations: 0 / 386.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.3966, allocations: 9.757 MB / 396 MB, free: 7.852 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.3968, allocations: 262.3 kB / 396.2 MB, free: 7.492 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.454, allocations: 0.5312 kB / 396.2 MB, free: 7.492 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat