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.0009747/0.0009747, allocations: 101.2 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 199.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 4 kB / 306.7 MB, free: 1.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.01221/0.1479, allocations: 9.744 MB / 368 MB, free: 3.977 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2659/0.4139, allocations: 6.329 MB / 374.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.4164, allocations: 54.09 kB / 374.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002791/0.4192, allocations: 0.7014 MB / 375 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004041/0.4232, allocations: 0.8659 MB / 375.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.4279, allocations: 1.327 MB / 377.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005326/0.4332, allocations: 2.233 MB / 379.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.4354, allocations: 1.42 MB / 380.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.438, allocations: 1.065 MB / 381.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/0.4406, allocations: 1.241 MB / 383.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004634/0.4411, allocations: 151 kB / 383.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.4425, allocations: 333.5 kB / 383.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008221/0.4433, allocations: 0.6971 MB / 384.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.4443, allocations: 0.578 MB / 384.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004369/0.4487, allocations: 3.708 MB / 388.6 MB, free: 6.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4487, allocations: 0 / 388.6 MB, free: 6.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4487, allocations: 0 / 388.6 MB, free: 6.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001622/0.4489, allocations: 0 / 388.6 MB, free: 6.984 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.007322/0.4562, allocations: 2.958 MB / 391.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4563, allocations: 9.406 kB / 391.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009436/0.4573, allocations: 345.2 kB / 391.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.459, allocations: 430.6 kB / 392.4 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.4627, allocations: 1.659 MB / 394 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.4629, allocations: 177.4 kB / 394.2 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/0.4633, allocations: 243.3 kB / 394.4 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005598/0.4689, allocations: 3.035 MB / 397.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.748e-05/0.469, allocations: 2.875 kB / 397.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.4692, allocations: 98.06 kB / 397.6 MB, free: 1.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.4694, allocations: 107 kB / 397.7 MB, free: 1.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/0.4736, allocations: 2.52 MB / 400.2 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01711/0.4908, allocations: 10.29 MB / 410.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/0.4939, allocations: 2.731 MB / 413.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.4942, allocations: 124.9 kB / 413.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.4942, allocations: 59.62 kB / 413.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 3.557e-06/0.4942, allocations: 480 / 413.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.01859/0.5128, allocations: 8.164 MB / 421.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.513, allocations: 209.2 kB / 421.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.5161, allocations: 1.839 MB / 423.6 MB, free: 9.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.5163, allocations: 57.7 kB / 423.7 MB, free: 9.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000839/0.5171, allocations: 1.151 MB / 424.8 MB, free: 7.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004955/0.5176, allocations: 0.5596 MB / 425.4 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.5177, allocations: 42.81 kB / 425.4 MB, free: 7.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5179, allocations: 385.8 kB / 425.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.5193, allocations: 0.8589 MB / 426.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.5209, allocations: 1.316 MB / 428 MB, free: 4.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.5224, allocations: 1.05 MB / 429 MB, free: 3.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5224, allocations: 4 kB / 429 MB, free: 3.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.004872/0.5273, allocations: 3.117 MB / 432.1 MB, free: 416 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001654/0.529, allocations: 4.989 MB / 437.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/0.529, allocations: 18.06 kB / 437.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001796/0.5308, allocations: 0.7621 MB / 437.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.5323, allocations: 375.4 kB / 438.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.5442, allocations: 11.88 MB / 450.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.5465, allocations: 107.9 kB / 450.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.5467, allocations: 72 kB / 450.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.5467, allocations: 4 kB / 450.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004541/0.5513, allocations: 2.884 MB / 453.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.5513, allocations: 16.28 kB / 453.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.5531, allocations: 0.7721 MB / 454 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.5543, allocations: 363.4 kB / 454.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.5661, allocations: 11.86 MB / 466.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.5685, allocations: 99.84 kB / 466.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.5687, allocations: 77.56 kB / 466.4 MB, free: 12.38 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 (194): * Single equations (assignments): 186 * 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%) 3} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002219/0.5709, allocations: 0.7939 MB / 467.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/0.5717, allocations: 233.5 kB / 467.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/0.5766, allocations: 2.829 MB / 470.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.5766, allocations: 16 kB / 470.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5766, allocations: 4 kB / 470.3 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.5766, allocations: 7.969 kB / 470.3 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.5867, allocations: 5.67 MB / 475.9 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.5868, allocations: 4 kB / 475.9 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009778/0.5877, allocations: 248 kB / 476.2 MB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001988/0.5897, allocations: 0.8074 MB / 477 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.5899, allocations: 43.98 kB / 477 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/0.6029, allocations: 13.36 MB / 490.4 MB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.6029, allocations: 8.031 kB / 490.4 MB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006882/0.6098, allocations: 4.255 MB / 494.7 MB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/0.6117, allocations: 478.3 kB / 495.1 MB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/0.6121, allocations: 47.98 kB / 495.2 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.6133, allocations: 95.91 kB / 495.3 MB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003666/0.6137, allocations: 141 kB / 495.4 MB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.6138, allocations: 51.98 kB / 495.5 MB, free: 14.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002256/0.6161, allocations: 1.254 MB / 496.7 MB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.6161, allocations: 0 / 496.7 MB, free: 12.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005318/0.6214, allocations: 1.073 MB / 497.8 MB, free: 11.71 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 (123): * Single equations (assignments): 117 * 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%) 3,(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.008302/0.6297, allocations: 5.824 MB / 0.4918 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01003/0.6398, allocations: 5.253 MB / 0.4969 GB, free: 316 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/0.6399, allocations: 0 / 0.4969 GB, free: 316 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003534/0.6435, allocations: 2.072 MB / 0.499 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.6468, allocations: 0.535 MB / 0.4995 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/0.6662, allocations: 16.21 MB / 0.5153 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002104/0.6684, allocations: 2.024 MB / 0.5173 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002161/0.6705, allocations: 0.5012 MB / 0.5178 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/0.6721, allocations: 0.9913 MB / 0.5187 GB, free: 9.418 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/0.6721, allocations: 0 / 0.5187 GB, free: 9.418 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.378/1.05, allocations: 59 MB / 0.5764 GB, free: 112.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.05, allocations: 241.1 kB / 0.5766 GB, free: 112.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.938/4.988, allocations: 3.797 kB / 0.5766 GB, free: 112.6 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)