Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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) 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(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",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.00104/0.00104, allocations: 85.77 kB / 16.31 MB, free: 6.453 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.001163/0.001163, allocations: 183.8 kB / 17.21 MB, free: 6.324 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.405/1.405, allocations: 223.3 MB / 241.2 MB, free: 348 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002574, allocations: 8 kB / 300.9 MB, free: 6.363 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1102, allocations: 50.42 MB / 351.3 MB, free: 3.926 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009765/0.12, allocations: 9.444 MB / 360.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006543/0.1266, allocations: 3.035 MB / 363.8 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.1287, allocations: 75.62 kB / 363.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.1306, allocations: 0.5395 MB / 364.4 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.134, allocations: 1.01 MB / 365.4 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.135, allocations: 283.7 kB / 365.7 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006529/0.1416, allocations: 5.323 MB / 371 MB, free: 148 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2381/0.3797, allocations: 3.065 MB / 374.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004716/0.3845, allocations: 1.719 MB / 375.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006411/0.3909, allocations: 2.214 MB / 378 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002276/0.3933, allocations: 269.9 kB / 378.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003764/0.397, allocations: 323.7 kB / 378.6 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003589/0.4007, allocations: 1.196 MB / 379.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003892/0.4046, allocations: 0.9373 MB / 380.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.4151, allocations: 6.825 MB / 387.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4151, allocations: 5.031 kB / 387.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4151, allocations: 0 / 387.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003996/0.4156, allocations: 0 / 387.6 MB, free: 6.613 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01462/0.4302, allocations: 4.344 MB / 391.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.4303, allocations: 9.625 kB / 391.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003201/0.4335, allocations: 0.5607 MB / 392.5 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004769/0.4383, allocations: 0.541 MB / 393 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007503/0.4458, allocations: 2.662 MB / 395.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/0.4461, allocations: 298.2 kB / 396 MB, free: 2.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/0.448, allocations: 386.7 kB / 396.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.4637, allocations: 5.783 MB / 402.2 MB, free: 76 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-05/0.4639, allocations: 4 kB / 402.2 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005959/0.4645, allocations: 160.3 kB / 402.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002477/0.4647, allocations: 207.9 kB / 402.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/0.4773, allocations: 5.003 MB / 407.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04333/0.5207, allocations: 16.51 MB / 424 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008691/0.5294, allocations: 6.779 MB / 430.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004569/0.5341, allocations: 2.681 MB / 433.5 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000366/0.5345, allocations: 142.7 kB / 433.6 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.528e-05/0.5345, allocations: 57.97 kB / 433.7 MB, free: 72 kB / 334.1 MB Notification: Performance of pre-optimization done (n=249): time 4.608e-06/0.5345, allocations: 6.406 kB / 433.7 MB, free: 68 kB / 334.1 MB Notification: Performance of matching and sorting (n=256): time 0.02472/0.5593, allocations: 10.71 MB / 444.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.325e-05/0.5594, allocations: 77.42 kB / 444.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005784/0.5652, allocations: 2.612 MB / 447.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006923/0.5659, allocations: 65.7 kB / 447.2 MB, free: 2.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.5675, allocations: 1.643 MB / 448.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/0.569, allocations: 0.8463 MB / 449.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.5692, allocations: 44 kB / 449.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003306/0.5696, allocations: 406.7 kB / 450.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/0.5721, allocations: 1.332 MB / 451.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/0.5747, allocations: 1.655 MB / 453.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00272/0.5775, allocations: 1.568 MB / 454.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.5775, allocations: 8 kB / 454.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.009054/0.5866, allocations: 4.437 MB / 459.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.5866, allocations: 11.94 kB / 459.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/0.5867, allocations: 12 kB / 459.1 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005952/0.5927, allocations: 1.648 MB / 460.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.5945, allocations: 395.4 kB / 461.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02635/0.6209, allocations: 23.47 MB / 484.6 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.6237, allocations: 99.83 kB / 484.7 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/0.6241, allocations: 76.56 kB / 484.8 MB, free: 11.12 MB / 398.1 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.003518/0.6276, allocations: 1.415 MB / 486.2 MB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000936/0.6286, allocations: 288.6 kB / 486.5 MB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008459/0.637, allocations: 4.372 MB / 490.9 MB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/0.6371, allocations: 24 kB / 490.9 MB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/0.6372, allocations: 11.94 kB / 490.9 MB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.999e-05/0.6372, allocations: 23.84 kB / 490.9 MB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/0.6573, allocations: 8.877 MB / 499.8 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.6574, allocations: 0 / 499.8 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.6587, allocations: 291.7 kB / 0.4884 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005369/0.6641, allocations: 1.628 MB / 0.49 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003509/0.6644, allocations: 55.98 kB / 0.49 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02464/0.6891, allocations: 23.23 MB / 0.5127 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6891, allocations: 0 / 0.5127 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.6995, allocations: 6.091 MB / 0.5186 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/0.7017, allocations: 0.681 MB / 0.5193 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006775/0.7024, allocations: 51.98 kB / 0.5194 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.7039, allocations: 135.8 kB / 0.5195 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005723/0.7045, allocations: 217.7 kB / 0.5197 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/0.7046, allocations: 60 kB / 0.5197 GB, free: 10.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003085/0.7077, allocations: 1.829 MB / 0.5215 GB, free: 8.223 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7077, allocations: 0 / 0.5215 GB, free: 8.223 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004788/0.7125, allocations: 0.9554 MB / 0.5225 GB, free: 7.27 MB / 446.1 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.01024/0.7228, allocations: 6.754 MB / 0.5291 GB, free: 412 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2704/0.9933, allocations: 4.845 MB / 0.5338 GB, free: 149.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/0.9933, allocations: 1.375 kB / 0.5338 GB, free: 149.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005375/0.9987, allocations: 3.356 MB / 0.5371 GB, free: 148.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005865/1.005, allocations: 0.9286 MB / 0.538 GB, free: 148.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06761/1.072, allocations: 26.44 MB / 0.5638 GB, free: 134.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004177/1.076, allocations: 3.168 MB / 0.5669 GB, free: 131.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003069/1.08, allocations: 0.5673 MB / 0.5674 GB, free: 131.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002742/1.082, allocations: 1.464 MB / 0.5689 GB, free: 129.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.313e-06/1.082, allocations: 1.531 kB / 0.5689 GB, free: 129.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1672/1.25, allocations: 86.34 MB / 0.6532 GB, free: 44.38 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/1.25, allocations: 281.1 kB / 0.6535 GB, free: 44.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.456/5.705, allocations: 0 / 0.6535 GB, free: 44.02 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat