Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0007953/0.0007955, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009764/0.0009764, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.191/1.191, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001894/0.0001896, allocations: 4 kB / 307.8 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07623/0.07644, allocations: 51.54 MB / 359.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003271/0.07974, allocations: 3.121 MB / 362.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.08121, allocations: 0.9037 MB / 363.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.08143, allocations: 7.938 kB / 363.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.0816, allocations: 51.61 kB / 363.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.0819, allocations: 103.1 kB / 363.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.08222, allocations: 143.8 kB / 363.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004738/0.0827, allocations: 0.4902 MB / 364.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.08297, allocations: 161.5 kB / 364.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.08323, allocations: 171.1 kB / 364.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.08347, allocations: 191 kB / 364.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.08353, allocations: 20 kB / 364.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.297e-05/0.08362, allocations: 24 kB / 364.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.0837, allocations: 75.62 kB / 364.8 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.0839, allocations: 232.5 kB / 365.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.08431, allocations: 0.4903 MB / 365.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.08432, allocations: 3.984 kB / 365.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08433, allocations: 4 kB / 365.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.08435, allocations: 4 kB / 365.6 MB, free: 6.945 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009966/0.08535, allocations: 0.6599 MB / 366.2 MB, free: 6.234 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.08539, allocations: 11.97 kB / 366.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.244e-05/0.08548, allocations: 74.72 kB / 366.3 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.08573, allocations: 72.34 kB / 366.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.0861, allocations: 352.2 kB / 366.7 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.08613, allocations: 29.38 kB / 366.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.08619, allocations: 36.38 kB / 366.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.0868, allocations: 403.8 kB / 367.2 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.08683, allocations: 0 / 367.2 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.08687, allocations: 16 kB / 367.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.08688, allocations: 12 kB / 367.2 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004906/0.08738, allocations: 271.8 kB / 367.5 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.08928, allocations: 1.527 MB / 369 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.0897, allocations: 257.6 kB / 369.2 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.09004, allocations: 161.3 kB / 369.4 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.09007, allocations: 8.234 kB / 369.4 MB, free: 2.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00036/0.09043, allocations: 226 kB / 369.6 MB, free: 2.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.09045, allocations: 4 kB / 369.6 MB, free: 2.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001411/0.09186, allocations: 0.6005 MB / 370.2 MB, free: 1.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.09193, allocations: 106.8 kB / 370.3 MB, free: 1.863 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.09223, allocations: 308.5 kB / 370.6 MB, free: 1.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.09227, allocations: 37.69 kB / 370.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.09241, allocations: 224.3 kB / 370.9 MB, free: 1.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.09249, allocations: 94.64 kB / 371 MB, free: 1.203 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.09254, allocations: 41.7 kB / 371 MB, free: 1.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.09265, allocations: 342.8 kB / 371.4 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.09284, allocations: 100.6 kB / 371.5 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.0931, allocations: 221.8 kB / 371.7 MB, free: 448 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.09354, allocations: 342.5 kB / 372 MB, free: 52 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.09355, allocations: 7.938 kB / 372 MB, free: 44 kB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.1384/0.232, allocations: 415.8 kB / 372.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.232, allocations: 10.89 kB / 372.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.232, allocations: 4.859 kB / 372.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.2323, allocations: 83.92 kB / 372.5 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.2326, allocations: 64.7 kB / 372.6 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.2341, allocations: 1.799 MB / 374.4 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.2344, allocations: 33.7 kB / 374.4 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.2344, allocations: 17.44 kB / 374.4 MB, free: 17.28 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.off,rectifier.diode_p.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.2346, allocations: 179 kB / 374.6 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.2347, allocations: 36.14 kB / 374.6 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.2347, allocations: 40.77 kB / 374.7 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2348, allocations: 3.781 kB / 374.7 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2348, allocations: 1.062 kB / 374.7 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2348, allocations: 1.938 kB / 374.7 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.2353, allocations: 0.57 MB / 375.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2354, allocations: 3.594 kB / 375.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.2355, allocations: 37.73 kB / 375.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.2357, allocations: 79.28 kB / 375.4 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.2358, allocations: 8.625 kB / 375.4 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.2371, allocations: 1.805 MB / 377.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2371, allocations: 0.6094 kB / 377.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/0.238, allocations: 0.5074 MB / 377.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2381, allocations: 137.3 kB / 377.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.2382, allocations: 12.44 kB / 377.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2384, allocations: 17.09 kB / 377.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.2384, allocations: 25.61 kB / 377.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.2385, allocations: 12 kB / 377.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.2387, allocations: 217.6 kB / 378.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2387, allocations: 3.875 kB / 378.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004385/0.2391, allocations: 113.4 kB / 378.2 MB, free: 15.18 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000952/0.2401, allocations: 1.066 MB / 379.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006317/0.2407, allocations: 422.8 kB / 379.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2407, allocations: 0 / 379.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.2411, allocations: 288 kB / 380 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2414, allocations: 70.12 kB / 380.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.2452, allocations: 3.737 MB / 383.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.2454, allocations: 0.8071 MB / 384.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.2455, allocations: 35.61 kB / 384.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.2457, allocations: 128.5 kB / 384.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2457, allocations: 0 / 384.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.2637, allocations: 7.728 MB / 392.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.2639, allocations: 286.6 kB / 392.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.024, allocations: 0 / 392.8 MB, free: 8.52 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)