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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 103.9 kB / 18.39 MB, free: 4.641 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.001039/0.001039, allocations: 190.5 kB / 19.33 MB, free: 3.715 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.314/1.314, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001095/0.001095, allocations: 59.92 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07734/0.07845, allocations: 46.6 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.1699/0.2484, allocations: 8.789 MB / 384.6 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004847/0.2533, allocations: 2.898 MB / 387.5 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.2548, allocations: 34.56 kB / 387.5 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.2566, allocations: 0.6051 MB / 388.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.2589, allocations: 0.6896 MB / 388.8 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008795/0.2597, allocations: 333.5 kB / 389.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.2623, allocations: 2.235 MB / 391.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.2642, allocations: 1.703 MB / 393.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.2656, allocations: 1.016 MB / 394.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.2675, allocations: 1.276 MB / 395.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003577/0.2679, allocations: 268.9 kB / 395.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006951/0.2686, allocations: 360.2 kB / 396 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006485/0.2692, allocations: 0.758 MB / 396.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.2703, allocations: 1.211 MB / 398 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.2734, allocations: 3.522 MB / 401.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2734, allocations: 9.016 kB / 401.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2734, allocations: 0 / 401.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.465e-05/0.2735, allocations: 0 / 401.5 MB, free: 0.5273 MB / 318.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.004471/0.278, allocations: 2.48 MB / 404 MB, free: 14.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.278, allocations: 10.09 kB / 404 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006146/0.2786, allocations: 250.2 kB / 404.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.2805, allocations: 1.23 MB / 405.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.2806, allocations: 136.8 kB / 405.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.2809, allocations: 181.4 kB / 405.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003806/0.2847, allocations: 2.383 MB / 408.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/0.2848, allocations: 7.312 kB / 408.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.285, allocations: 75.14 kB / 408.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.913e-05/0.2851, allocations: 92.53 kB / 408.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00318/0.2882, allocations: 1.96 MB / 410.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009791/0.298, allocations: 7.05 MB / 417.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.2998, allocations: 1.28 MB / 418.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.3012, allocations: 0.8503 MB / 419.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.3014, allocations: 130 kB / 419.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3015, allocations: 43.5 kB / 419.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.425e-06/0.3015, allocations: 0 / 419.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01221/0.3137, allocations: 5.905 MB / 425.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.3137, allocations: 65.44 kB / 425.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.3153, allocations: 1.211 MB / 426.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/0.3154, allocations: 49.7 kB / 426.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.316, allocations: 0.8612 MB / 427.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.3162, allocations: 370.7 kB / 428.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.3166, allocations: 218.8 kB / 428.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3167, allocations: 353.9 kB / 428.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009282/0.3177, allocations: 0.6155 MB / 429.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.3188, allocations: 0.9236 MB / 430.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.321, allocations: 1.64 MB / 431.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.321, allocations: 0 / 431.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003458/0.3244, allocations: 2.223 MB / 434.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.3245, allocations: 16.23 kB / 434.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.3245, allocations: 12 kB / 434.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.3255, allocations: 483.9 kB / 434.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/0.3265, allocations: 267.6 kB / 434.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006416/0.3329, allocations: 7.017 MB / 441.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.334, allocations: 79.91 kB / 441.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.3341, allocations: 48 kB / 442 MB, free: 12.12 MB / 366.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.001042/0.3351, allocations: 0.6028 MB / 442.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.3354, allocations: 138.3 kB / 442.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/0.3388, allocations: 2.024 MB / 444.7 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3389, allocations: 12 kB / 444.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.3389, allocations: 7.984 kB / 444.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.3389, allocations: 3.984 kB / 444.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006689/0.3456, allocations: 4.205 MB / 449 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.3456, allocations: 4 kB / 449 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006944/0.3463, allocations: 176.3 kB / 449.1 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.3476, allocations: 0.5231 MB / 449.7 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.071e-05/0.3477, allocations: 31.98 kB / 449.7 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007623/0.3553, allocations: 8.617 MB / 458.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.3554, allocations: 7.938 kB / 458.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004376/0.3597, allocations: 2.945 MB / 461.3 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006728/0.3604, allocations: 347.3 kB / 461.6 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.3607, allocations: 24 kB / 461.6 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008318/0.3615, allocations: 83.84 kB / 461.7 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.3618, allocations: 88.77 kB / 461.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-05/0.3618, allocations: 35.98 kB / 461.8 MB, free: 7.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001239/0.3631, allocations: 0.8382 MB / 462.7 MB, free: 6.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3631, allocations: 3.938 kB / 462.7 MB, free: 6.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001462/0.3646, allocations: 411.9 kB / 463.1 MB, free: 6.125 MB / 382.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.0003577/0.3649, allocations: 187.1 kB / 463.2 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003184/0.3681, allocations: 2.158 MB / 465.4 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.3681, allocations: 4 kB / 465.4 MB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002095/0.3702, allocations: 1.48 MB / 466.9 MB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.372, allocations: 394.3 kB / 467.3 MB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006112/0.3781, allocations: 3.954 MB / 471.2 MB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.3794, allocations: 1.618 MB / 472.8 MB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.3798, allocations: 103.4 kB / 472.9 MB, free: 11.96 MB / 398.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3798, allocations: 3.938 kB / 473 MB, free: 11.96 MB / 398.1 MB Notification: Performance of Templates: time 0.0664/0.4462, allocations: 68.13 MB / 0.5284 GB, free: 7.664 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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