Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009735/0.0009787, allocations: 97.88 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 195.1 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000232/0.0002322, allocations: 4 kB / 306.8 MB, free: 1.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1135, allocations: 51.49 MB / 358.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01002/0.1235, allocations: 9.454 MB / 367.8 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007188/0.1308, allocations: 3.089 MB / 370.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.1335, allocations: 75.62 kB / 370.9 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.1353, allocations: 0.5395 MB / 371.5 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2701/0.4054, allocations: 1.004 MB / 372.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.4071, allocations: 283.5 kB / 372.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007687/0.4148, allocations: 5.32 MB / 378.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004811/0.4197, allocations: 3.076 MB / 381.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.4241, allocations: 1.719 MB / 382.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005594/0.4297, allocations: 2.213 MB / 385.1 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000911/0.4307, allocations: 269.2 kB / 385.3 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.4325, allocations: 333.1 kB / 385.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.4339, allocations: 1.199 MB / 386.9 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002217/0.4361, allocations: 0.9359 MB / 387.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00733/0.4435, allocations: 6.822 MB / 394.6 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.4435, allocations: 1 kB / 394.6 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4435, allocations: 0 / 394.6 MB, free: 3.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002983/0.4438, allocations: 0 / 394.6 MB, free: 3.57 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.01099/0.4548, allocations: 4.356 MB / 399 MB, free: 1.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4549, allocations: 11.59 kB / 399 MB, free: 1.117 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00185/0.4567, allocations: 0.5562 MB / 399.5 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.4592, allocations: 0.58 MB / 400.1 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006338/0.4655, allocations: 2.669 MB / 402.8 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.4658, allocations: 286.5 kB / 403.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/0.467, allocations: 396.8 kB / 403.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.4805, allocations: 5.78 MB / 409.2 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.12e-05/0.4806, allocations: 3.938 kB / 409.2 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004723/0.4811, allocations: 163.2 kB / 409.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002269/0.4813, allocations: 204 kB / 409.6 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.4925, allocations: 5.006 MB / 414.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03474/0.5273, allocations: 16.49 MB / 431.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008338/0.5357, allocations: 6.786 MB / 437.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004336/0.5401, allocations: 2.693 MB / 440.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003393/0.5405, allocations: 134.7 kB / 440.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.5405, allocations: 64.5 kB / 440.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 4.378e-06/0.5405, allocations: 0 / 440.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02303/0.5636, allocations: 10.71 MB / 451.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.5637, allocations: 77.42 kB / 451.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/0.5688, allocations: 2.608 MB / 454.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004273/0.5692, allocations: 73.7 kB / 454.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.5709, allocations: 1.64 MB / 455.9 MB, free: 7.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.5719, allocations: 0.8349 MB / 456.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.5721, allocations: 56 kB / 456.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002706/0.5724, allocations: 398.7 kB / 457.2 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/0.575, allocations: 1.34 MB / 458.5 MB, free: 5.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002808/0.5778, allocations: 1.647 MB / 460.1 MB, free: 3.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002609/0.5804, allocations: 1.573 MB / 461.7 MB, free: 1.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.5804, allocations: 0 / 461.7 MB, free: 1.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008658/0.5891, allocations: 4.455 MB / 466.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.5892, allocations: 8 kB / 466.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.5892, allocations: 8 kB / 466.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005294/0.5945, allocations: 1.643 MB / 467.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.5963, allocations: 387.5 kB / 468.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02623/0.6226, allocations: 23.48 MB / 491.7 MB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/0.6252, allocations: 95.98 kB / 491.8 MB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003089/0.6255, allocations: 80 kB / 491.9 MB, free: 2.145 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.003024/0.6285, allocations: 1.4 MB / 493.3 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008949/0.6294, allocations: 300.6 kB / 493.6 MB, free: 448 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008102/0.6375, allocations: 4.386 MB / 497.9 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.6376, allocations: 24 kB / 498 MB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/0.6376, allocations: 8 kB / 498 MB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-05/0.6377, allocations: 11.95 kB / 498 MB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/0.6556, allocations: 8.891 MB / 0.495 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.6557, allocations: 4 kB / 0.495 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.6569, allocations: 291.6 kB / 0.4953 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00508/0.662, allocations: 1.62 MB / 0.4969 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002721/0.6623, allocations: 59.97 kB / 0.4969 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/0.6888, allocations: 23.22 MB / 0.5196 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6888, allocations: 64 / 0.5196 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/0.7005, allocations: 6.087 MB / 0.5255 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002239/0.7028, allocations: 0.6732 MB / 0.5262 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006965/0.7036, allocations: 63.94 kB / 0.5263 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.7049, allocations: 127.9 kB / 0.5264 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005917/0.7056, allocations: 209.6 kB / 0.5266 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/0.7057, allocations: 67.98 kB / 0.5266 GB, free: 1.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.2368/0.9425, allocations: 1.826 MB / 0.5284 GB, free: 138.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.91e-07/0.9425, allocations: 0 / 0.5284 GB, free: 138.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005824/0.9484, allocations: 0.9569 MB / 0.5294 GB, free: 138.5 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.01257/0.961, allocations: 6.752 MB / 0.536 GB, free: 137.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01124/0.9722, allocations: 4.849 MB / 0.5407 GB, free: 135.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/0.9723, allocations: 4.594 kB / 0.5407 GB, free: 135.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008957/0.9813, allocations: 3.359 MB / 0.544 GB, free: 133.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008219/0.9896, allocations: 0.9191 MB / 0.5449 GB, free: 133.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06778/1.057, allocations: 26.43 MB / 0.5707 GB, free: 115.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003947/1.061, allocations: 3.174 MB / 0.5738 GB, free: 113.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002375/1.064, allocations: 0.5746 MB / 0.5743 GB, free: 112.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/1.066, allocations: 1.464 MB / 0.5758 GB, free: 111.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/1.066, allocations: 0 / 0.5758 GB, free: 111.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.193, allocations: 86.32 MB / 0.6601 GB, free: 25.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.193, allocations: 289.8 kB / 0.6604 GB, free: 25.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.357/5.55, allocations: 0 / 0.6604 GB, free: 25.32 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat