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.001181/0.001181, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 60.05 kB / 307.1 MB, free: 464 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08149/0.08282, allocations: 50.54 MB / 357.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.01278/0.09564, allocations: 11.98 MB / 369.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1624/0.2581, allocations: 6.545 MB / 376.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.2601, allocations: 63.83 kB / 376.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.2625, allocations: 0.8781 MB / 377.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.2657, allocations: 0.9355 MB / 378 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005996/0.2717, allocations: 1.973 MB / 380 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004309/0.2761, allocations: 3.432 MB / 383.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.2785, allocations: 2.162 MB / 385.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.2807, allocations: 1.457 MB / 387 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.2825, allocations: 1.699 MB / 388.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005245/0.283, allocations: 357.7 kB / 389.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.2841, allocations: 0.5773 MB / 389.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007463/0.2849, allocations: 0.9831 MB / 390.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.2863, allocations: 1.662 MB / 392.3 MB, free: 3.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.2895, allocations: 4.704 MB / 397 MB, free: 368 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2895, allocations: 0 / 397 MB, free: 368 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2895, allocations: 0 / 397 MB, free: 368 kB / 302.1 MB Notification: Performance of Transformations before backend: time 6.066e-05/0.2896, allocations: 1.25 kB / 397 MB, free: 368 kB / 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.006243/0.2958, allocations: 3.438 MB / 400.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2959, allocations: 9.781 kB / 400.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003989/0.2963, allocations: 343.8 kB / 400.8 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.2976, allocations: 425.9 kB / 401.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.3002, allocations: 1.703 MB / 402.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.3003, allocations: 182.1 kB / 403.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/0.3007, allocations: 250.4 kB / 403.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004611/0.3053, allocations: 3.056 MB / 406.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.557e-05/0.3054, allocations: 8 kB / 406.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.3056, allocations: 100 kB / 406.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.396e-05/0.3057, allocations: 100.6 kB / 406.6 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004162/0.3099, allocations: 2.54 MB / 409.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01445/0.3243, allocations: 10.24 MB / 419.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.3275, allocations: 2.717 MB / 422.1 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.3294, allocations: 1.239 MB / 423.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.3296, allocations: 129.3 kB / 423.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3297, allocations: 51.88 kB / 423.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=149): time 3.477e-06/0.3297, allocations: 0 / 423.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=166): time 0.01781/0.3475, allocations: 8.012 MB / 431.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.3476, allocations: 197.2 kB / 431.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.3507, allocations: 1.874 MB / 433.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.3508, allocations: 61.7 kB / 433.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008443/0.3517, allocations: 1.159 MB / 434.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004336/0.3521, allocations: 0.5644 MB / 435.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005595/0.3527, allocations: 335.3 kB / 435.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.3528, allocations: 309.1 kB / 436 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.3542, allocations: 0.8753 MB / 436.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.3559, allocations: 1.319 MB / 438.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.359, allocations: 2.258 MB / 440.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.359, allocations: 4 kB / 440.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.005238/0.3642, allocations: 3.154 MB / 443.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3643, allocations: 8 kB / 443.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.3643, allocations: 12 kB / 443.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/0.3662, allocations: 0.8077 MB / 444.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.3676, allocations: 367.3 kB / 444.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.3803, allocations: 13 MB / 457.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.3821, allocations: 104 kB / 457.9 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.3823, allocations: 79.92 kB / 458 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002464/0.3848, allocations: 1.476 MB / 459.4 MB, free: 1.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001613/0.3864, allocations: 1.308 MB / 460.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002937/0.3894, allocations: 2.239 MB / 463 MB, free: 14.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.783e-06/0.3894, allocations: 0 / 463 MB, free: 14.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.005256/0.3947, allocations: 3.129 MB / 466.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3947, allocations: 15.94 kB / 466.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.3947, allocations: 12 kB / 466.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.3966, allocations: 0.7991 MB / 466.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.3979, allocations: 363.4 kB / 467.3 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.4114, allocations: 13.01 MB / 480.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.4135, allocations: 103.9 kB / 480.4 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/0.4139, allocations: 68 kB / 480.5 MB, free: 11.86 MB / 398.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 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].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 (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006266/0.4145, allocations: 300.8 kB / 480.8 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006885/0.4152, allocations: 221.4 kB / 481 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005293/0.4205, allocations: 2.853 MB / 483.8 MB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.4205, allocations: 19.94 kB / 483.8 MB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.4205, allocations: 4 kB / 483.9 MB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.4206, allocations: 11.97 kB / 483.9 MB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009833/0.4304, allocations: 5.693 MB / 489.6 MB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.4304, allocations: 4.062 kB / 489.6 MB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.4315, allocations: 231.7 kB / 489.8 MB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/0.4336, allocations: 0.8365 MB / 490.6 MB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.4337, allocations: 39.98 kB / 490.7 MB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.4478, allocations: 14.58 MB / 0.4934 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.4479, allocations: 11.94 kB / 0.4934 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006202/0.4541, allocations: 4.049 MB / 0.4974 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.4552, allocations: 474.3 kB / 0.4978 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004164/0.4556, allocations: 43.98 kB / 0.4979 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.4569, allocations: 99.84 kB / 0.498 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/0.4572, allocations: 133.1 kB / 0.4981 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.4574, allocations: 43.98 kB / 0.4981 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001983/0.4593, allocations: 1.289 MB / 0.4994 GB, free: 11.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4594, allocations: 0 / 0.4994 GB, free: 11.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00364/0.463, allocations: 1.082 MB / 0.5004 GB, free: 10.72 MB / 430.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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006498/0.4695, allocations: 4.741 MB / 0.5051 GB, free: 5.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009375/0.4789, allocations: 6.03 MB / 0.511 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4789, allocations: 0 / 0.511 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002983/0.4819, allocations: 2.098 MB / 0.513 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/0.4846, allocations: 0.6007 MB / 0.5136 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1692/0.6538, allocations: 24.09 MB / 0.5371 GB, free: 137 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.6555, allocations: 1.978 MB / 0.5391 GB, free: 136.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00171/0.6572, allocations: 0.497 MB / 0.5395 GB, free: 136.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.6582, allocations: 0.9947 MB / 0.5405 GB, free: 135.5 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6582, allocations: 0 / 0.5405 GB, free: 135.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09349/0.7517, allocations: 64.17 MB / 0.6032 GB, free: 85.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.2, allocations: 7.641 kB / 0.6032 GB, free: 85.71 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)