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.001036/0.001036, allocations: 96.03 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002596, allocations: 4 kB / 306.7 MB, free: 1.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1067, allocations: 51.5 MB / 358.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01066/0.1174, allocations: 8.66 MB / 366.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007297/0.1247, allocations: 3.188 MB / 370.1 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.1265, allocations: 71.62 kB / 370.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.128, allocations: 0.5751 MB / 370.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002762/0.1308, allocations: 0.9464 MB / 371.6 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.1315, allocations: 279.7 kB / 371.9 MB, free: 232 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2117/0.3432, allocations: 3.238 MB / 375.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003984/0.3473, allocations: 3.07 MB / 378.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.3507, allocations: 1.597 MB / 379.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003757/0.3544, allocations: 1.921 MB / 381.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009934/0.3554, allocations: 269 kB / 382 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.3573, allocations: 330.1 kB / 382.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.3585, allocations: 1.133 MB / 383.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002012/0.3605, allocations: 0.9385 MB / 384.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008174/0.3687, allocations: 6.804 MB / 391.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3687, allocations: 1.375 kB / 391.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.3687, allocations: 0 / 391.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002797/0.369, allocations: 5.969 kB / 391.2 MB, free: 5.457 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.01417/0.3832, allocations: 4.338 MB / 395.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.96e-05/0.3833, allocations: 9.719 kB / 395.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0027/0.386, allocations: 0.5553 MB / 396.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.3888, allocations: 0.5792 MB / 396.7 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006218/0.395, allocations: 2.671 MB / 399.4 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.3953, allocations: 292.1 kB / 399.7 MB, free: 1.551 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.3964, allocations: 395.9 kB / 400 MB, free: 1.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/0.4079, allocations: 5.748 MB / 405.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.901e-05/0.408, allocations: 6.297 kB / 405.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004226/0.4085, allocations: 159.8 kB / 405.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/0.4087, allocations: 212 kB / 406.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009381/0.4181, allocations: 4.997 MB / 411.2 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03195/0.4501, allocations: 16.5 MB / 427.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006657/0.4568, allocations: 6.8 MB / 434.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.4571, allocations: 131.1 kB / 434.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.4572, allocations: 64.52 kB / 434.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 4.018e-06/0.4572, allocations: 0 / 434.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.01995/0.4771, allocations: 10.79 MB / 445.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.4772, allocations: 81.38 kB / 445.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/0.4816, allocations: 2.612 MB / 448.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004863/0.4821, allocations: 73.64 kB / 448.2 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.4834, allocations: 1.653 MB / 449.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009093/0.4844, allocations: 0.8408 MB / 450.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.4845, allocations: 48 kB / 450.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4847, allocations: 402.7 kB / 451.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/0.4869, allocations: 1.355 MB / 452.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.4891, allocations: 1.651 MB / 454.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.4914, allocations: 1.589 MB / 455.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.4914, allocations: 0 / 455.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007206/0.4986, allocations: 4.484 MB / 460.2 MB, free: 4.301 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.4986, allocations: 11.98 kB / 460.2 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4987, allocations: 4 kB / 460.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005181/0.5038, allocations: 1.643 MB / 461.9 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.5055, allocations: 403.4 kB / 462.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02336/0.5289, allocations: 23.9 MB / 486.2 MB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.5313, allocations: 99.98 kB / 486.3 MB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/0.5316, allocations: 76 kB / 486.3 MB, free: 8.84 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.002792/0.5344, allocations: 1.407 MB / 487.7 MB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006905/0.5351, allocations: 300.5 kB / 488 MB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007382/0.5424, allocations: 4.419 MB / 492.4 MB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.5425, allocations: 27.95 kB / 492.5 MB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.5425, allocations: 10.19 kB / 492.5 MB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.5425, allocations: 11.95 kB / 492.5 MB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.558, allocations: 8.921 MB / 0.4897 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.5581, allocations: 4 kB / 0.4897 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.5593, allocations: 295.7 kB / 0.49 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005161/0.5645, allocations: 1.62 MB / 0.4915 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002478/0.5647, allocations: 59.98 kB / 0.4916 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02514/0.5899, allocations: 23.65 MB / 0.5147 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5899, allocations: 0 / 0.5147 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.6003, allocations: 6.195 MB / 0.5207 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/0.6026, allocations: 0.6771 MB / 0.5214 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005705/0.6032, allocations: 59.98 kB / 0.5215 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.6046, allocations: 135.8 kB / 0.5216 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005619/0.6052, allocations: 221.6 kB / 0.5218 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.6054, allocations: 67.98 kB / 0.5219 GB, free: 7.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00324/0.6086, allocations: 1.825 MB / 0.5236 GB, free: 5.297 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6086, allocations: 0 / 0.5236 GB, free: 5.297 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003756/0.6124, allocations: 0.9531 MB / 0.5246 GB, free: 4.344 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.231/0.8434, allocations: 6.979 MB / 0.5314 GB, free: 137.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009423/0.8528, allocations: 4.89 MB / 0.5362 GB, free: 136.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.8529, allocations: 5.281 kB / 0.5362 GB, free: 136.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005459/0.8584, allocations: 3.367 MB / 0.5395 GB, free: 135.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005679/0.8641, allocations: 0.8817 MB / 0.5403 GB, free: 135.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05829/0.9224, allocations: 30.24 MB / 0.5699 GB, free: 117.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003161/0.9256, allocations: 3.244 MB / 0.573 GB, free: 114.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002418/0.9281, allocations: 0.5751 MB / 0.5736 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001956/0.93, allocations: 1.46 MB / 0.575 GB, free: 112.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.93, allocations: 0 / 0.575 GB, free: 112.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1295/1.06, allocations: 86.37 MB / 0.6594 GB, free: 26.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003001/1.06, allocations: 285.8 kB / 0.6596 GB, free: 26.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.589/5.649, allocations: 0 / 0.6596 GB, free: 26.55 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