Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001644, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.001047/0.001048, allocations: 89.42 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005454/0.0005455, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2506, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.007207/0.2578, allocations: 8.53 MB / 383.6 MB, free: 38.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005251/0.2631, allocations: 2.896 MB / 386.5 MB, free: 36.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.2642, allocations: 37.56 kB / 386.6 MB, free: 36.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.2655, allocations: 0.5036 MB / 387.1 MB, free: 35.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.2674, allocations: 0.6404 MB / 387.7 MB, free: 35.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.2681, allocations: 243.9 kB / 387.9 MB, free: 35.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002319/0.2704, allocations: 2.528 MB / 390.5 MB, free: 33.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.2717, allocations: 1.399 MB / 391.9 MB, free: 31.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.2729, allocations: 0.8288 MB / 392.7 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.274, allocations: 1.093 MB / 393.8 MB, free: 29.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.2742, allocations: 124 kB / 393.9 MB, free: 29.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004794/0.2747, allocations: 223.8 kB / 394.1 MB, free: 29.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004325/0.2751, allocations: 0.5957 MB / 394.7 MB, free: 29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007778/0.2759, allocations: 1.044 MB / 395.8 MB, free: 27.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.2776, allocations: 2.914 MB / 398.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2777, allocations: 0 / 398.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2777, allocations: 4 kB / 398.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.612e-05/0.2777, allocations: 0 / 398.7 MB, free: 25.02 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003119/0.2808, allocations: 2.186 MB / 400.9 MB, free: 22.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2809, allocations: 8.031 kB / 400.9 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005009/0.2814, allocations: 262.1 kB / 401.1 MB, free: 22.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.283, allocations: 1.252 MB / 402.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/0.283, allocations: 140.2 kB / 402.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.2833, allocations: 196 kB / 402.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.2863, allocations: 2.411 MB / 405.1 MB, free: 18.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/0.2864, allocations: 11.89 kB / 405.1 MB, free: 18.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.2865, allocations: 76 kB / 405.2 MB, free: 18.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.036e-05/0.2866, allocations: 91.69 kB / 405.3 MB, free: 18.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/0.2894, allocations: 1.951 MB / 407.2 MB, free: 16.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009309/0.2987, allocations: 7.898 MB / 415.1 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.3001, allocations: 1.241 MB / 416.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.3015, allocations: 0.9488 MB / 417.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.3017, allocations: 118.1 kB / 417.4 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3017, allocations: 51.56 kB / 417.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=95): time 2.825e-06/0.3017, allocations: 0 / 417.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=111): time 0.01052/0.3123, allocations: 5.927 MB / 423.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.3124, allocations: 64.41 kB / 423.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.3142, allocations: 1.298 MB / 424.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.034e-05/0.3143, allocations: 45.7 kB / 424.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000618/0.3149, allocations: 0.9198 MB / 425.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.3152, allocations: 386.4 kB / 426.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.3153, allocations: 28 kB / 426.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3155, allocations: 365.9 kB / 426.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009858/0.3165, allocations: 0.6364 MB / 427.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3177, allocations: 0.9886 MB / 428.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/0.32, allocations: 1.727 MB / 429.9 MB, free: 8.879 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.32, allocations: 7.938 kB / 429.9 MB, free: 8.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003735/0.3238, allocations: 2.245 MB / 432.1 MB, free: 6.602 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.3238, allocations: 12 kB / 432.1 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.3238, allocations: 8 kB / 432.1 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.325, allocations: 0.4884 MB / 432.6 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.3261, allocations: 299.5 kB / 432.9 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006896/0.333, allocations: 6.538 MB / 439.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.3342, allocations: 91.81 kB / 439.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.3343, allocations: 52 kB / 439.6 MB, free: 14.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001221/0.3355, allocations: 0.6106 MB / 440.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.3358, allocations: 138.3 kB / 440.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.3393, allocations: 1.968 MB / 442.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.3393, allocations: 12 kB / 442.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3393, allocations: 4 kB / 442.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3394, allocations: 3.984 kB / 442.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006822/0.3462, allocations: 4.136 MB / 446.5 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.3462, allocations: 4.062 kB / 446.5 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008198/0.347, allocations: 187.7 kB / 446.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.3485, allocations: 0.5391 MB / 447.2 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.3486, allocations: 31.97 kB / 447.2 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00812/0.3567, allocations: 8.037 MB / 455.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3568, allocations: 4.031 kB / 455.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004743/0.3615, allocations: 2.849 MB / 458.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008802/0.3624, allocations: 359.2 kB / 458.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000397/0.3628, allocations: 27.98 kB / 458.5 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008504/0.3637, allocations: 71.92 kB / 458.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.364, allocations: 96.84 kB / 458.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.364, allocations: 28 kB / 458.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001421/0.3655, allocations: 0.876 MB / 459.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3655, allocations: 0 / 459.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00164/0.3671, allocations: 444 kB / 460 MB, free: 9.527 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003921/0.3675, allocations: 179 kB / 460.2 MB, free: 9.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003729/0.3713, allocations: 2.236 MB / 462.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.3713, allocations: 0.75 kB / 462.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002314/0.3736, allocations: 1.502 MB / 463.9 MB, free: 5.449 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.3764, allocations: 398.7 kB / 464.3 MB, free: 5.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/0.3848, allocations: 4.964 MB / 469.3 MB, free: 44 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/0.3866, allocations: 1.634 MB / 470.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005333/0.3871, allocations: 107.4 kB / 471 MB, free: 14.28 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3871, allocations: 0 / 471 MB, free: 14.28 MB / 362.7 MB Notification: Performance of Templates: time 0.232/0.6191, allocations: 70.38 MB / 0.5287 GB, free: 78.5 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches