Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001589, allocations: 187.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 222.5 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001909/0.00191, allocations: 94.86 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 8 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.09964, allocations: 47.58 MB / 374.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01719/0.1169, allocations: 9.688 MB / 384.3 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2783/0.3953, allocations: 6.335 MB / 390.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.3979, allocations: 50.66 kB / 390.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.4013, allocations: 0.6935 MB / 391.4 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004538/0.4059, allocations: 0.8646 MB / 392.3 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007038/0.413, allocations: 1.329 MB / 393.6 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006399/0.4194, allocations: 2.238 MB / 395.8 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00367/0.4231, allocations: 1.381 MB / 397.2 MB, free: 9.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.4267, allocations: 1.057 MB / 398.3 MB, free: 9.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003947/0.4307, allocations: 1.248 MB / 399.5 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001288/0.4321, allocations: 153.7 kB / 399.7 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.4349, allocations: 337.5 kB / 400 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002104/0.4371, allocations: 0.7006 MB / 400.7 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002165/0.4393, allocations: 0.5723 MB / 401.3 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007271/0.4466, allocations: 3.71 MB / 405 MB, free: 7.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4467, allocations: 4 kB / 405 MB, free: 7.164 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4467, allocations: 0 / 405 MB, free: 7.164 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001927/0.4469, allocations: 1.562 kB / 405 MB, free: 7.164 MB / 282.7 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.01203/0.4589, allocations: 2.948 MB / 407.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.459, allocations: 9.344 kB / 408 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001471/0.4605, allocations: 344.7 kB / 408.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/0.4634, allocations: 426.1 kB / 408.7 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0055/0.4689, allocations: 1.612 MB / 410.3 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.4692, allocations: 182.1 kB / 410.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.4702, allocations: 241.5 kB / 410.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.4805, allocations: 3.009 MB / 413.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.4806, allocations: 6.688 kB / 413.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003556/0.481, allocations: 111 kB / 413.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.4812, allocations: 96.28 kB / 414 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00809/0.4893, allocations: 2.526 MB / 416.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03086/0.5202, allocations: 10.31 MB / 426.8 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006288/0.5265, allocations: 2.717 MB / 429.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004839/0.527, allocations: 126.4 kB / 429.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/0.5271, allocations: 51.88 kB / 429.7 MB, free: 4.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=149): time 3.938e-06/0.5271, allocations: 0 / 429.7 MB, free: 4.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=166): time 0.03352/0.5607, allocations: 8.171 MB / 437.9 MB, free: 12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.5608, allocations: 175.5 kB / 438 MB, free: 11.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004897/0.5657, allocations: 1.846 MB / 439.9 MB, free: 9.902 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004217/0.5662, allocations: 53.7 kB / 439.9 MB, free: 9.844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.5675, allocations: 1.076 MB / 441 MB, free: 8.766 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001032/0.5685, allocations: 0.5648 MB / 441.6 MB, free: 8.207 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.5687, allocations: 40 kB / 441.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002483/0.569, allocations: 382.8 kB / 442 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.5717, allocations: 0.8628 MB / 442.8 MB, free: 6.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003342/0.5751, allocations: 1.317 MB / 444.2 MB, free: 5.422 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/0.5784, allocations: 1.044 MB / 445.2 MB, free: 4.383 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/0.5784, allocations: 4 kB / 445.2 MB, free: 4.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.009518/0.5879, allocations: 2.99 MB / 448.2 MB, free: 1.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002386/0.5904, allocations: 4.792 MB / 453 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.846e-05/0.5905, allocations: 12 kB / 453 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003538/0.594, allocations: 0.7743 MB / 453.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/0.597, allocations: 371.5 kB / 454.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/0.619, allocations: 11.88 MB / 466 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/0.622, allocations: 110.2 kB / 466.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005336/0.6226, allocations: 67.95 kB / 466.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.6226, allocations: 4 kB / 466.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009008/0.6316, allocations: 2.883 MB / 469.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-05/0.6318, allocations: 16 kB / 469.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/0.6348, allocations: 0.7394 MB / 469.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.6377, allocations: 367.4 kB / 470.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/0.6593, allocations: 12 MB / 482.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.6611, allocations: 96.08 kB / 482.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.6614, allocations: 71.94 kB / 482.4 MB, free: 13.41 MB / 362.7 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.002685/0.6641, allocations: 0.8049 MB / 483.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008658/0.665, allocations: 217.4 kB / 483.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008972/0.674, allocations: 2.833 MB / 486.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-05/0.6741, allocations: 16 kB / 486.2 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.82e-05/0.6741, allocations: 4 kB / 486.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.772e-05/0.6742, allocations: 18.22 kB / 486.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/0.6926, allocations: 5.651 MB / 491.9 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/0.6927, allocations: 4 kB / 491.9 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/0.6949, allocations: 235.7 kB / 492.1 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003889/0.6988, allocations: 0.8049 MB / 492.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003993/0.6992, allocations: 47.95 kB / 493 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02422/0.7235, allocations: 13.35 MB / 0.4945 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.7235, allocations: 8 kB / 0.4945 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/0.7354, allocations: 4.253 MB / 0.4986 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/0.7376, allocations: 478.2 kB / 0.4991 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009665/0.7386, allocations: 47.94 kB / 0.4991 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002631/0.7413, allocations: 95.91 kB / 0.4992 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006991/0.742, allocations: 137 kB / 0.4993 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/0.7422, allocations: 50.08 kB / 0.4994 GB, free: 15.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003623/0.7458, allocations: 1.254 MB / 0.5006 GB, free: 13.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7459, allocations: 0 / 0.5006 GB, free: 13.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007487/0.7534, allocations: 1.062 MB / 0.5017 GB, free: 12.82 MB / 394.7 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.01347/0.7669, allocations: 5.815 MB / 0.5073 GB, free: 6.848 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01445/0.7814, allocations: 5.225 MB / 0.5124 GB, free: 1.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.7814, allocations: 0 / 0.5124 GB, free: 1.453 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006046/0.7875, allocations: 2.074 MB / 0.5145 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004746/0.7923, allocations: 0.5381 MB / 0.515 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/0.8184, allocations: 16.23 MB / 0.5308 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/0.8218, allocations: 2.004 MB / 0.5328 GB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002692/0.8246, allocations: 1.003 MB / 0.5338 GB, free: 11.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.874e-06/0.8246, allocations: 0 / 0.5338 GB, free: 11.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.781/5.606, allocations: 111.5 MB / 0.6426 GB, free: 60.42 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1)