Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.002064/0.002065, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241.8 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 47.09 kB / 300.6 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1089, allocations: 49.44 MB / 350.1 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.285/0.394, allocations: 32.29 MB / 382.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02348/0.4175, allocations: 8.89 MB / 391.3 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01104/0.4286, allocations: 230.1 kB / 391.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01831/0.447, allocations: 7.444 MB / 398.9 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01889/0.4659, allocations: 3.347 MB / 402.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01024/0.4762, allocations: 1.949 MB / 404.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02498/0.5012, allocations: 13.34 MB / 417.6 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03819/0.5394, allocations: 18.27 MB / 435.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01452/0.554, allocations: 5.475 MB / 441.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01427/0.5684, allocations: 6.773 MB / 448.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006601/0.575, allocations: 1.148 MB / 449.2 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009101/0.5842, allocations: 1.523 MB / 450.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006574/0.5908, allocations: 2.991 MB / 453.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0168/0.6076, allocations: 6.324 MB / 460.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03108/0.6387, allocations: 21.69 MB / 481.8 MB, free: 2.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.6388, allocations: 4 kB / 481.8 MB, free: 2.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6388, allocations: 3.938 kB / 481.8 MB, free: 2.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007478/0.6395, allocations: 0 / 481.8 MB, free: 2.605 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.05359/0.6932, allocations: 14.61 MB / 496.4 MB, free: 3.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.6932, allocations: 8.031 kB / 496.4 MB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04038/0.7336, allocations: 6.753 MB / 0.4913 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02145/0.7551, allocations: 7.838 MB / 0.499 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001052/0.7562, allocations: 0.7947 MB / 0.4998 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005454/0.7617, allocations: 1.051 MB / 0.5008 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05414/0.8158, allocations: 17.22 MB / 0.5176 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000632/0.8165, allocations: 19.8 kB / 0.5176 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004736/0.8212, allocations: 444 kB / 0.5181 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007746/0.822, allocations: 0.6275 MB / 0.5187 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4779/1.3, allocations: 16.3 MB / 0.5346 GB, free: 111.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/1.408, allocations: 55.81 MB / 0.5891 GB, free: 67.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02413/1.433, allocations: 31.09 MB / 0.6194 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007501/1.44, allocations: 4.337 MB / 0.6237 GB, free: 28.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02143/1.462, allocations: 10.46 MB / 0.6339 GB, free: 18.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.453e-05/1.462, allocations: 81.8 kB / 0.634 GB, free: 18.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 7.233e-06/1.462, allocations: 0 / 0.634 GB, free: 18.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=423): time 0.05252/1.514, allocations: 21.56 MB / 0.655 GB, free: 12.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.224e-05/1.514, allocations: 120.7 kB / 0.6551 GB, free: 12.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.526, allocations: 4.677 MB / 0.6597 GB, free: 7.477 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001107/1.527, allocations: 93.7 kB / 0.6598 GB, free: 7.379 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004347/1.531, allocations: 4.656 MB / 0.6643 GB, free: 2.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002869/1.534, allocations: 1.446 MB / 0.6658 GB, free: 1.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002292/1.536, allocations: 1.132 MB / 0.6669 GB, free: 116 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/1.537, allocations: 305.1 kB / 0.6672 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005252/1.542, allocations: 2.912 MB / 0.67 GB, free: 12.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006316/1.548, allocations: 4.941 MB / 0.6748 GB, free: 7.023 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.56, allocations: 8.341 MB / 0.683 GB, free: 13.74 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-05/1.56, allocations: 23.94 kB / 0.683 GB, free: 13.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01805/1.578, allocations: 9.724 MB / 0.6925 GB, free: 3.938 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/1.578, allocations: 32 kB / 0.6925 GB, free: 3.906 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/1.578, allocations: 64 kB / 0.6926 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004764/1.583, allocations: 1.658 MB / 0.6942 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005288/1.588, allocations: 1.314 MB / 0.6955 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3138/1.902, allocations: 16.46 MB / 0.7116 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005659/1.908, allocations: 336.1 kB / 0.7119 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.909, allocations: 285.2 kB / 0.7122 GB, free: 139.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009029/1.918, allocations: 3.884 MB / 0.7159 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/1.919, allocations: 495.8 kB / 0.7164 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.934, allocations: 7.794 MB / 0.724 GB, free: 134.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/1.934, allocations: 49.56 kB / 0.7241 GB, free: 134.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.631e-05/1.934, allocations: 15.53 kB / 0.7241 GB, free: 134.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.973e-05/1.934, allocations: 23.19 kB / 0.7241 GB, free: 134.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0306/1.964, allocations: 17.46 MB / 0.7412 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.964, allocations: 6.969 kB / 0.7412 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/1.967, allocations: 0.7252 MB / 0.7419 GB, free: 127 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003989/1.971, allocations: 1.549 MB / 0.7434 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005634/1.972, allocations: 100.8 kB / 0.7435 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01935/1.991, allocations: 19.52 MB / 0.7625 GB, free: 111.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.991, allocations: 8 kB / 0.7626 GB, free: 111 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01901/2.01, allocations: 11.44 MB / 0.7737 GB, free: 100.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003369/2.014, allocations: 1.149 MB / 0.7748 GB, free: 99.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001951/2.016, allocations: 91.98 kB / 0.7749 GB, free: 99.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003935/2.02, allocations: 227.9 kB / 0.7752 GB, free: 99.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/2.021, allocations: 331.2 kB / 0.7755 GB, free: 98.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006465/2.022, allocations: 128 kB / 0.7756 GB, free: 98.69 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006779/2.029, allocations: 3.169 MB / 0.7787 GB, free: 95.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.81e-07/2.029, allocations: 0 / 0.7787 GB, free: 95.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01071/2.039, allocations: 1.862 MB / 0.7805 GB, free: 93.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001534/2.041, allocations: 288 kB / 0.7808 GB, free: 93.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01489/2.056, allocations: 8.101 MB / 0.7887 GB, free: 85.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/2.056, allocations: 11.97 kB / 0.7887 GB, free: 85.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008793/2.065, allocations: 4.633 MB / 0.7932 GB, free: 80.51 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01231/2.077, allocations: 1.229 MB / 0.7944 GB, free: 79.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04992/2.127, allocations: 23.58 MB / 0.8175 GB, free: 55.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/2.138, allocations: 6.559 MB / 0.8239 GB, free: 49.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00236/2.14, allocations: 431.3 kB / 0.8243 GB, free: 48.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/2.14, allocations: 0 / 0.8243 GB, free: 48.6 MB / 478.1 MB Notification: Performance of Templates: time 1.143/3.283, allocations: 460.4 MB / 1.274 GB, free: 152.8 MB / 0.4982 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches