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/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: "" <> 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/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009239/0.000924, allocations: 93.84 kB / 286.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.636e-05, allocations: 0 / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.0986, allocations: 51.48 MB / 395.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3846/0.4832, allocations: 92.73 MB / 488 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.4836, allocations: 84.39 kB / 488.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5587/1.042, allocations: 115.5 MB / 0.5894 GB, free: 58.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/1.042, allocations: 0 / 0.5894 GB, free: 58.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005145/1.043, allocations: 111.5 kB / 0.5895 GB, free: 58.19 MB / 442.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.01247/1.055, allocations: 3.862 MB / 0.5933 GB, free: 56.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.055, allocations: 9.75 kB / 0.5933 GB, free: 56.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003593/1.059, allocations: 0.5855 MB / 0.5939 GB, free: 56.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007259/1.066, allocations: 2.719 MB / 0.5965 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/1.067, allocations: 122.9 kB / 0.5966 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001507/1.068, allocations: 232.2 kB / 0.5969 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008832/1.077, allocations: 4.259 MB / 0.601 GB, free: 56.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/1.09, allocations: 4.978 MB / 0.6059 GB, free: 55.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/1.09, allocations: 3.516 kB / 0.6059 GB, free: 55.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001329/1.091, allocations: 6.953 kB / 0.6059 GB, free: 55.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002292/1.092, allocations: 202.8 kB / 0.6061 GB, free: 55.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03822/1.13, allocations: 15.61 MB / 0.6213 GB, free: 52.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006293/1.136, allocations: 6.617 MB / 0.6278 GB, free: 49.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00416/1.14, allocations: 2.42 MB / 0.6302 GB, free: 49.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/1.141, allocations: 148.4 kB / 0.6303 GB, free: 49.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/1.141, allocations: 67.92 kB / 0.6304 GB, free: 49.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 5.129e-06/1.141, allocations: 0 / 0.6304 GB, free: 49.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.01883/1.16, allocations: 7.289 MB / 0.6375 GB, free: 47.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/1.16, allocations: 77.42 kB / 0.6376 GB, free: 47.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004997/1.165, allocations: 1.809 MB / 0.6393 GB, free: 46.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005706/1.166, allocations: 25.7 kB / 0.6394 GB, free: 46.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/1.167, allocations: 1.659 MB / 0.641 GB, free: 45.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/1.168, allocations: 0.8062 MB / 0.6418 GB, free: 44.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/1.168, allocations: 0 / 0.6418 GB, free: 44.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/1.169, allocations: 399.2 kB / 0.6421 GB, free: 44.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/1.17, allocations: 1.234 MB / 0.6433 GB, free: 43.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/1.172, allocations: 1.515 MB / 0.6448 GB, free: 42.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/1.174, allocations: 1.475 MB / 0.6463 GB, free: 42.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.174, allocations: 3.75 kB / 0.6463 GB, free: 42.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006344/1.181, allocations: 4.056 MB / 0.6502 GB, free: 40.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/1.181, allocations: 7.344 kB / 0.6502 GB, free: 40.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/1.181, allocations: 7 kB / 0.6502 GB, free: 40.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003211/1.184, allocations: 1.376 MB / 0.6516 GB, free: 40.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.186, allocations: 397.6 kB / 0.652 GB, free: 40.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/1.204, allocations: 22.57 MB / 0.674 GB, free: 23.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/1.206, allocations: 46.02 kB / 0.674 GB, free: 23.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005555/1.207, allocations: 79.88 kB / 0.6741 GB, free: 23.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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.0009456/1.208, allocations: 145.8 kB / 0.6743 GB, free: 23 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006422/1.214, allocations: 3.601 MB / 0.6778 GB, free: 21.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008899/1.215, allocations: 265.7 kB / 0.678 GB, free: 21.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005894/1.221, allocations: 3.802 MB / 0.6817 GB, free: 19.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/1.221, allocations: 28.75 kB / 0.6818 GB, free: 19.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.024e-05/1.221, allocations: 11.08 kB / 0.6818 GB, free: 19.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/1.221, allocations: 14.62 kB / 0.6818 GB, free: 19.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/1.236, allocations: 8.048 MB / 0.6897 GB, free: 16.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.236, allocations: 0 / 0.6897 GB, free: 16.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.237, allocations: 300.5 kB / 0.6899 GB, free: 16.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/1.24, allocations: 1.342 MB / 0.6913 GB, free: 16.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/1.24, allocations: 18.81 kB / 0.6913 GB, free: 16.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02065/1.261, allocations: 22.41 MB / 0.7132 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.261, allocations: 0 / 0.7132 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008575/1.269, allocations: 5.736 MB / 0.7188 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.271, allocations: 0.6345 MB / 0.7194 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007471/1.272, allocations: 15.08 kB / 0.7194 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/1.273, allocations: 87.52 kB / 0.7195 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004756/1.274, allocations: 220.9 kB / 0.7197 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.274, allocations: 67.12 kB / 0.7197 GB, free: 12.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002156/1.276, allocations: 1.393 MB / 0.7211 GB, free: 11.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.276, allocations: 0 / 0.7211 GB, free: 11.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003968/1.28, allocations: 0.8699 MB / 0.722 GB, free: 11.8 MB / 458.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 () * 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.007787/1.288, allocations: 6.566 MB / 0.7284 GB, free: 8.012 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006032/1.294, allocations: 4.554 MB / 0.7328 GB, free: 3.812 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.294, allocations: 0 / 0.7328 GB, free: 3.812 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004362/1.299, allocations: 3.15 MB / 0.7359 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/1.303, allocations: 0.6098 MB / 0.7365 GB, free: 404 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3067/1.609, allocations: 8.041 MB / 0.7443 GB, free: 62.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/1.613, allocations: 3.248 MB / 0.7475 GB, free: 62.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001816/1.614, allocations: 0.5091 MB / 0.748 GB, free: 62.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/1.616, allocations: 1.44 MB / 0.7494 GB, free: 62.03 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/1.616, allocations: 0 / 0.7494 GB, free: 62.03 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1396/1.756, allocations: 73.67 MB / 0.8214 GB, free: 58.24 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002994/1.756, allocations: 163.1 kB / 0.8215 GB, free: 58.04 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.315/6.072, allocations: 0 / 0.8215 GB, free: 58.04 MB / 458.7 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