Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 114.3 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 189.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.1 MB / 224.1 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 47.92 kB / 280.3 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07946/0.08062, allocations: 46.63 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01028/0.09095, allocations: 8.746 MB / 335.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004773/0.09576, allocations: 2.837 MB / 338.5 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.09681, allocations: 35.81 kB / 338.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.09833, allocations: 0.5439 MB / 339 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.09999, allocations: 0.6294 MB / 339.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.1006, allocations: 283.7 kB / 340 MB, free: 7.551 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.1026, allocations: 2.229 MB / 342.2 MB, free: 5.309 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.1043, allocations: 1.71 MB / 343.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.1054, allocations: 1.008 MB / 344.9 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.1067, allocations: 1.312 MB / 346.2 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.107, allocations: 268 kB / 346.5 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.1076, allocations: 367.8 kB / 346.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006098/0.1082, allocations: 0.7636 MB / 347.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.1092, allocations: 1.206 MB / 348.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002717/0.112, allocations: 3.493 MB / 352.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.112, allocations: 0 / 352.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.112, allocations: 0 / 352.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.238e-05/0.112, allocations: 0 / 352.3 MB, free: 11.12 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004085/0.1161, allocations: 2.493 MB / 354.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1162, allocations: 8.031 kB / 354.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003038/0.1165, allocations: 266 kB / 355.1 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000569/0.1171, allocations: 250.3 kB / 355.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.1188, allocations: 1.216 MB / 356.5 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.172e-05/0.1189, allocations: 139.9 kB / 356.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.1192, allocations: 183.8 kB / 356.8 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/0.1226, allocations: 2.371 MB / 359.2 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-05/0.1227, allocations: 7.938 kB / 359.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.1228, allocations: 75.98 kB / 359.3 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.94e-05/0.1229, allocations: 91.5 kB / 359.4 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003057/0.126, allocations: 1.958 MB / 361.3 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009497/0.1355, allocations: 7.156 MB / 368.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.1372, allocations: 1.272 MB / 369.8 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.1386, allocations: 0.8659 MB / 370.6 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.1388, allocations: 122.1 kB / 370.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.1389, allocations: 39.56 kB / 370.8 MB, free: 8.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.595e-06/0.1389, allocations: 0 / 370.8 MB, free: 8.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01158/0.1505, allocations: 5.901 MB / 376.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1505, allocations: 60.41 kB / 376.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.152, allocations: 1.218 MB / 378 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.184e-05/0.1521, allocations: 45.7 kB / 378 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1274/0.2794, allocations: 0.8567 MB / 378.9 MB, free: 52.17 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/0.2799, allocations: 366.5 kB / 379.2 MB, free: 52.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004628/0.2804, allocations: 220.3 kB / 379.4 MB, free: 52.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.2805, allocations: 357.5 kB / 379.8 MB, free: 51.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.2816, allocations: 0.6102 MB / 380.4 MB, free: 51.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.283, allocations: 0.9215 MB / 381.3 MB, free: 51.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.2855, allocations: 1.643 MB / 383 MB, free: 50.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.2855, allocations: 2.656 kB / 383 MB, free: 50.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003698/0.2892, allocations: 2.222 MB / 385.2 MB, free: 49.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.2892, allocations: 12.3 kB / 385.2 MB, free: 49.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.2893, allocations: 9.469 kB / 385.2 MB, free: 49.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.2903, allocations: 480.8 kB / 385.7 MB, free: 49.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009255/0.2913, allocations: 272.3 kB / 385.9 MB, free: 49.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005682/0.297, allocations: 7.032 MB / 393 MB, free: 44.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.298, allocations: 79.19 kB / 393.1 MB, free: 44.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.349e-05/0.2981, allocations: 55.34 kB / 393.1 MB, free: 44.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009084/0.299, allocations: 0.5949 MB / 393.7 MB, free: 43.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.2992, allocations: 140.9 kB / 393.8 MB, free: 43.6 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.3023, allocations: 2.018 MB / 395.9 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3023, allocations: 10.69 kB / 395.9 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3023, allocations: 5.219 kB / 395.9 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3023, allocations: 3.891 kB / 395.9 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005594/0.3079, allocations: 4.224 MB / 400.1 MB, free: 40.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.3079, allocations: 7.641 kB / 400.1 MB, free: 40.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.3086, allocations: 176 kB / 400.3 MB, free: 40.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.3097, allocations: 0.533 MB / 400.8 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/0.3098, allocations: 36.86 kB / 400.8 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005731/0.3156, allocations: 8.606 MB / 409.5 MB, free: 32.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3156, allocations: 7.938 kB / 409.5 MB, free: 32.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/0.319, allocations: 2.943 MB / 412.4 MB, free: 29.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.3195, allocations: 351.2 kB / 412.7 MB, free: 29.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.3197, allocations: 28 kB / 412.8 MB, free: 29.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006916/0.3204, allocations: 71.91 kB / 412.8 MB, free: 29.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.3205, allocations: 96.77 kB / 412.9 MB, free: 29.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.3206, allocations: 31.98 kB / 413 MB, free: 29.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009122/0.3215, allocations: 0.8382 MB / 413.8 MB, free: 28.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3215, allocations: 0 / 413.8 MB, free: 28.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001329/0.3229, allocations: 408 kB / 414.2 MB, free: 27.9 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003709/0.3266, allocations: 3.579 MB / 417.8 MB, free: 24.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003324/0.3299, allocations: 2.488 MB / 420.3 MB, free: 21.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3299, allocations: 5.875 kB / 420.3 MB, free: 21.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/0.3316, allocations: 1.484 MB / 421.8 MB, free: 20.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.3332, allocations: 386.2 kB / 422.1 MB, free: 19.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/0.3533, allocations: 16.99 MB / 439.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009664/0.3543, allocations: 1.63 MB / 440.8 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000944/0.3553, allocations: 296.8 kB / 441.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008657/0.3562, allocations: 0.6867 MB / 441.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3562, allocations: 4 kB / 441.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06644/0.4226, allocations: 36.49 MB / 478.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003858/0.4231, allocations: 256 kB / 478.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.006, allocations: 0 / 478.5 MB, free: 10.27 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches