Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009141/0.0009141, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.6 MB / 244.3 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008049/0.0008049, allocations: 102.1 kB / 296.4 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002411/0.0002411, allocations: 8 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2366, allocations: 51.28 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.00699/0.2436, allocations: 9.444 MB / 416.9 MB, free: 18.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005685/0.2494, allocations: 3.081 MB / 420 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.2515, allocations: 75.62 kB / 420.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.2529, allocations: 0.5395 MB / 420.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.2555, allocations: 1.01 MB / 421.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.2562, allocations: 279.7 kB / 421.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004104/0.2603, allocations: 5.319 MB / 427.2 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/0.2633, allocations: 3.068 MB / 430.3 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002673/0.266, allocations: 1.716 MB / 432 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.269, allocations: 2.214 MB / 434.2 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005729/0.2696, allocations: 268 kB / 434.5 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.2707, allocations: 335.9 kB / 434.8 MB, free: 416 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009403/0.2717, allocations: 1.195 MB / 436 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.2729, allocations: 0.933 MB / 437 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006614/0.2796, allocations: 6.829 MB / 443.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2796, allocations: 0 / 443.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2796, allocations: 0 / 443.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002701/0.2799, allocations: 0 / 443.8 MB, free: 7.418 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01018/0.2901, allocations: 4.355 MB / 448.1 MB, free: 2.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.2901, allocations: 8.031 kB / 448.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/0.2927, allocations: 0.5802 MB / 448.7 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005536/0.2983, allocations: 2.674 MB / 451.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/0.2986, allocations: 299.8 kB / 451.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009994/0.2996, allocations: 387.9 kB / 452.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.311, allocations: 5.77 MB / 457.8 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-05/0.3112, allocations: 11.92 kB / 457.9 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000423/0.3116, allocations: 160 kB / 458 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002127/0.3118, allocations: 208 kB / 458.2 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.3223, allocations: 5.001 MB / 463.2 MB, free: 3.723 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.3555, allocations: 16.5 MB / 479.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007321/0.3629, allocations: 6.79 MB / 486.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004136/0.3671, allocations: 2.677 MB / 489.2 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003495/0.3674, allocations: 135.1 kB / 489.3 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.921e-05/0.3675, allocations: 68.53 kB / 489.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 5.159e-06/0.3675, allocations: 4 kB / 489.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.02225/0.3898, allocations: 10.72 MB / 0.4884 GB, free: 13.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.3899, allocations: 77.42 kB / 0.4885 GB, free: 13.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004685/0.3946, allocations: 2.62 MB / 0.491 GB, free: 10.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003974/0.395, allocations: 65.7 kB / 0.4911 GB, free: 10.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.3963, allocations: 1.636 MB / 0.4927 GB, free: 9.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008915/0.3972, allocations: 0.847 MB / 0.4935 GB, free: 8.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.3975, allocations: 44 kB / 0.4935 GB, free: 8.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3977, allocations: 402.7 kB / 0.4939 GB, free: 7.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/0.4, allocations: 1.332 MB / 0.4952 GB, free: 6.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/0.4024, allocations: 1.654 MB / 0.4968 GB, free: 4.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/0.405, allocations: 1.569 MB / 0.4984 GB, free: 3.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.405, allocations: 8 kB / 0.4984 GB, free: 3.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.1944/0.5994, allocations: 4.446 MB / 0.5027 GB, free: 88.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.5995, allocations: 8.016 kB / 0.5027 GB, free: 88.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.5995, allocations: 6.219 kB / 0.5027 GB, free: 88.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005632/0.6052, allocations: 1.637 MB / 0.5043 GB, free: 87.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.6068, allocations: 395.7 kB / 0.5047 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/0.6258, allocations: 23.48 MB / 0.5277 GB, free: 69.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.6278, allocations: 97.39 kB / 0.5277 GB, free: 69.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.628, allocations: 80.19 kB / 0.5278 GB, free: 69.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002017/0.6301, allocations: 1.406 MB / 0.5292 GB, free: 68.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006117/0.6307, allocations: 296.6 kB / 0.5295 GB, free: 68.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006094/0.6368, allocations: 4.378 MB / 0.5338 GB, free: 65.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.6368, allocations: 24 kB / 0.5338 GB, free: 65.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.6369, allocations: 15.95 kB / 0.5338 GB, free: 65.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.6369, allocations: 11.95 kB / 0.5338 GB, free: 65.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.6489, allocations: 8.886 MB / 0.5425 GB, free: 56.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.6489, allocations: 0 / 0.5425 GB, free: 56.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.65, allocations: 287.7 kB / 0.5428 GB, free: 56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004716/0.6547, allocations: 1.622 MB / 0.5443 GB, free: 54.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002191/0.6549, allocations: 59.94 kB / 0.5444 GB, free: 54.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01689/0.6718, allocations: 23.23 MB / 0.5671 GB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6719, allocations: 0 / 0.5671 GB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007882/0.6798, allocations: 6.081 MB / 0.573 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/0.6813, allocations: 0.681 MB / 0.5737 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004202/0.6817, allocations: 55.98 kB / 0.5737 GB, free: 22.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.6831, allocations: 127.9 kB / 0.5739 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004437/0.6835, allocations: 218.6 kB / 0.5741 GB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.6837, allocations: 68.05 kB / 0.5741 GB, free: 22.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002182/0.6858, allocations: 1.829 MB / 0.5759 GB, free: 20.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6859, allocations: 4 kB / 0.5759 GB, free: 20.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003234/0.6891, allocations: 0.9575 MB / 0.5769 GB, free: 19.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005018/0.6896, allocations: 212.9 kB / 0.5771 GB, free: 19.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005917/0.6955, allocations: 4.842 MB / 0.5818 GB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.6956, allocations: 1.562 kB / 0.5818 GB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003949/0.6995, allocations: 3.355 MB / 0.5851 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/0.7039, allocations: 0.928 MB / 0.586 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.7171, allocations: 9.882 MB / 0.5956 GB, free: 220 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/0.7202, allocations: 3.099 MB / 0.5986 GB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008467/0.7211, allocations: 171.4 kB / 0.5988 GB, free: 12.91 MB / 394.7 MB Notification: Performance of SimCode: time 2.014e-06/0.7211, allocations: 0 / 0.5988 GB, free: 12.91 MB / 394.7 MB Notification: Performance of Templates: time 0.6002/1.321, allocations: 260.7 MB / 0.8534 GB, free: 167.4 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches