Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.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.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000869/0.0008689, allocations: 99.78 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.00108/0.00108, allocations: 193.3 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.365/1.365, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002293/0.0002296, allocations: 8 kB / 306.8 MB, free: 1.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.105, allocations: 51.49 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.01144/0.1165, allocations: 10.61 MB / 368.9 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1948/0.3113, allocations: 6.243 MB / 375.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.314, allocations: 58.41 kB / 375.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002979/0.317, allocations: 0.7088 MB / 375.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004279/0.3214, allocations: 0.8049 MB / 376.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005585/0.327, allocations: 1.409 MB / 378.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006555/0.3335, allocations: 3.464 MB / 381.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003707/0.3373, allocations: 1.424 MB / 383 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.3405, allocations: 1.123 MB / 384.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003394/0.3439, allocations: 1.408 MB / 385.6 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.345, allocations: 155.4 kB / 385.7 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.3473, allocations: 346.8 kB / 386.1 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001692/0.349, allocations: 0.7366 MB / 386.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001934/0.351, allocations: 0.5774 MB / 387.4 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005052/0.356, allocations: 3.733 MB / 391.1 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3561, allocations: 0 / 391.1 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3561, allocations: 0 / 391.1 MB, free: 5.473 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002129/0.3563, allocations: 0.875 kB / 391.1 MB, free: 5.473 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.008971/0.3653, allocations: 2.969 MB / 394.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3653, allocations: 8.25 kB / 394.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001288/0.3666, allocations: 347.1 kB / 394.4 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.3687, allocations: 426.8 kB / 394.8 MB, free: 3.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/0.3724, allocations: 1.648 MB / 396.5 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.3726, allocations: 179.3 kB / 396.7 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/0.3731, allocations: 246.3 kB / 396.9 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005759/0.3789, allocations: 3.041 MB / 399.9 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.664e-05/0.379, allocations: 9.266 kB / 400 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003617/0.3794, allocations: 112 kB / 400.1 MB, free: 0 / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.3795, allocations: 108.4 kB / 400.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005625/0.3852, allocations: 2.524 MB / 402.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/0.4042, allocations: 10.3 MB / 413 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.4077, allocations: 2.727 MB / 415.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.4098, allocations: 1.232 MB / 417 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.4101, allocations: 131.8 kB / 417.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.4101, allocations: 53.25 kB / 417.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=149): time 6.132e-06/0.4102, allocations: 4 kB / 417.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=166): time 0.01909/0.4293, allocations: 8.086 MB / 425.2 MB, free: 7.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.4294, allocations: 197.2 kB / 425.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003888/0.4333, allocations: 1.856 MB / 427.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002296/0.4336, allocations: 53.7 kB / 427.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.4346, allocations: 1.166 MB / 428.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006449/0.4353, allocations: 0.5553 MB / 429 MB, free: 3.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.4355, allocations: 36 kB / 429.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.4357, allocations: 377.9 kB / 429.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.4374, allocations: 0.8628 MB / 430.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.4394, allocations: 1.325 MB / 431.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.4413, allocations: 1.047 MB / 432.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.695e-05/0.4413, allocations: 4 kB / 432.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.00604/0.4474, allocations: 3.139 MB / 435.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000443/0.4479, allocations: 460.1 kB / 436.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/0.4479, allocations: 15.98 kB / 436.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/0.45, allocations: 0.7972 MB / 437.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.4515, allocations: 363.4 kB / 437.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.4653, allocations: 11.85 MB / 449.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.4675, allocations: 119.7 kB / 449.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003793/0.4679, allocations: 68.09 kB / 449.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.4679, allocations: 10.44 kB / 449.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005652/0.4735, allocations: 2.906 MB / 452.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.606e-05/0.4736, allocations: 12 kB / 452.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.4756, allocations: 0.7922 MB / 453.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.477, allocations: 355.4 kB / 453.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.4912, allocations: 11.83 MB / 465.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.4935, allocations: 111.8 kB / 465.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003891/0.4939, allocations: 68 kB / 465.5 MB, free: 13.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 183 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 16,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002218/0.4961, allocations: 0.8011 MB / 466.3 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007575/0.4969, allocations: 213.5 kB / 466.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006264/0.5032, allocations: 2.859 MB / 469.4 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.5032, allocations: 16 kB / 469.4 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.298e-05/0.5033, allocations: 4.094 kB / 469.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.5033, allocations: 11.95 kB / 469.4 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.5162, allocations: 5.695 MB / 475.1 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.5162, allocations: 0 / 475.1 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.5173, allocations: 236.1 kB / 475.4 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.5197, allocations: 0.8382 MB / 476.2 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/0.5199, allocations: 44.27 kB / 476.3 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/0.5356, allocations: 13.29 MB / 489.5 MB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5357, allocations: 4 kB / 489.5 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007546/0.5432, allocations: 4.041 MB / 493.6 MB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/0.5449, allocations: 486.3 kB / 494.1 MB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008607/0.5458, allocations: 48.03 kB / 494.1 MB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/0.5476, allocations: 98.36 kB / 494.2 MB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004453/0.5481, allocations: 141 kB / 494.3 MB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.5482, allocations: 47.98 kB / 494.4 MB, free: 15.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003085/0.5513, allocations: 1.262 MB / 495.6 MB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5513, allocations: 4 kB / 495.7 MB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.007449/0.5588, allocations: 1.082 MB / 496.7 MB, free: 12.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 114 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.009173/0.568, allocations: 4.702 MB / 0.4897 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01201/0.5801, allocations: 5.27 MB / 0.4948 GB, free: 2.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.917e-05/0.5802, allocations: 4.062 kB / 0.4948 GB, free: 2.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00568/0.5859, allocations: 2.083 MB / 0.4969 GB, free: 300 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007263/0.5932, allocations: 0.5711 MB / 0.4974 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07391/0.6672, allocations: 17.36 MB / 0.5144 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004107/0.6713, allocations: 1.977 MB / 0.5163 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003201/0.6746, allocations: 0.4934 MB / 0.5168 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002249/0.6769, allocations: 0.9874 MB / 0.5178 GB, free: 9.703 MB / 446.1 MB Notification: Performance of SimCode: time 1.123e-06/0.6769, allocations: 1.75 kB / 0.5178 GB, free: 9.703 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3043/0.9812, allocations: 60.23 MB / 0.5766 GB, free: 111.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/0.9814, allocations: 246.8 kB / 0.5768 GB, free: 111.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.969/4.951, allocations: 0 / 0.5768 GB, free: 111.4 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)