Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001527/0.001527, allocations: 104.9 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001624/0.001624, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.3 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002164, allocations: 59.92 kB / 306.3 MB, free: 0.9805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1248, allocations: 50.55 MB / 356.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2362/0.361, allocations: 32.9 MB / 389.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0247/0.3858, allocations: 9.16 MB / 398.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009281/0.3951, allocations: 232.8 kB / 399.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02074/0.4159, allocations: 7.479 MB / 406.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0152/0.4311, allocations: 3.36 MB / 410 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008835/0.44, allocations: 2 MB / 412 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0256/0.4656, allocations: 13.54 MB / 425.6 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04036/0.506, allocations: 18.27 MB / 443.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/0.5195, allocations: 5.486 MB / 449.3 MB, free: 184 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01569/0.5352, allocations: 6.792 MB / 456.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00617/0.5414, allocations: 1.152 MB / 457.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.5517, allocations: 1.543 MB / 458.8 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007609/0.5593, allocations: 2.987 MB / 461.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01583/0.5752, allocations: 6.34 MB / 468.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0417/0.6169, allocations: 24.42 MB / 492.6 MB, free: 4.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.617, allocations: 0 / 492.6 MB, free: 4.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.617, allocations: 0 / 492.6 MB, free: 4.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007829/0.6178, allocations: 0 / 492.6 MB, free: 4.816 MB / 398.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.06152/0.6793, allocations: 14.67 MB / 0.4953 GB, free: 6.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.6794, allocations: 8.031 kB / 0.4953 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04199/0.7214, allocations: 6.694 MB / 0.5019 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02077/0.7422, allocations: 7.881 MB / 0.5096 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001138/0.7434, allocations: 0.8025 MB / 0.5104 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005319/0.7487, allocations: 1.054 MB / 0.5114 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04659/0.7953, allocations: 17.26 MB / 0.5282 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004629/0.7958, allocations: 23.83 kB / 0.5283 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003235/0.7991, allocations: 444 kB / 0.5287 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008378/0.8, allocations: 0.6236 MB / 0.5293 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3403/1.14, allocations: 16.33 MB / 0.5452 GB, free: 122.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08416/1.224, allocations: 57.01 MB / 0.6009 GB, free: 78.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02295/1.247, allocations: 31.43 MB / 0.6316 GB, free: 43.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006686/1.254, allocations: 4.37 MB / 0.6359 GB, free: 39.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0162/1.27, allocations: 10.8 MB / 0.6464 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/1.27, allocations: 81.81 kB / 0.6465 GB, free: 28.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.811e-06/1.27, allocations: 0 / 0.6465 GB, free: 28.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.04458/1.315, allocations: 21.6 MB / 0.6676 GB, free: 6.535 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/1.315, allocations: 120.7 kB / 0.6677 GB, free: 6.395 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007341/1.323, allocations: 4.707 MB / 0.6723 GB, free: 1.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006901/1.323, allocations: 97.7 kB / 0.6724 GB, free: 1.578 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003342/1.327, allocations: 4.668 MB / 0.677 GB, free: 12.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002057/1.329, allocations: 1.446 MB / 0.6784 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003085/1.332, allocations: 1.148 MB / 0.6795 GB, free: 10.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/1.332, allocations: 305.1 kB / 0.6798 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005461/1.337, allocations: 2.916 MB / 0.6826 GB, free: 7.059 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007751/1.345, allocations: 4.957 MB / 0.6875 GB, free: 1.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/1.36, allocations: 8.357 MB / 0.6956 GB, free: 7.883 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.398e-05/1.36, allocations: 19.94 kB / 0.6956 GB, free: 7.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.02439/1.384, allocations: 9.76 MB / 0.7052 GB, free: 14.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.714e-05/1.385, allocations: 32 kB / 0.7052 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/1.385, allocations: 68 kB / 0.7053 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/1.39, allocations: 1.656 MB / 0.7069 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005966/1.396, allocations: 1.322 MB / 0.7082 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2297/1.626, allocations: 16.46 MB / 0.7243 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004979/1.631, allocations: 327.5 kB / 0.7246 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.632, allocations: 287.1 kB / 0.7248 GB, free: 154.1 MB / 494.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.007077/1.639, allocations: 3.896 MB / 0.7286 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001465/1.64, allocations: 0.4887 MB / 0.7291 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/1.655, allocations: 7.797 MB / 0.7367 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.173e-05/1.655, allocations: 42.81 kB / 0.7368 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-05/1.655, allocations: 20.92 kB / 0.7368 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-05/1.655, allocations: 22.31 kB / 0.7368 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03247/1.688, allocations: 17.52 MB / 0.7539 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/1.688, allocations: 7.375 kB / 0.7539 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003111/1.691, allocations: 0.7335 MB / 0.7546 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004153/1.695, allocations: 1.549 MB / 0.7562 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005541/1.696, allocations: 107.2 kB / 0.7563 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/1.715, allocations: 19.5 MB / 0.7753 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.715, allocations: 15.5 kB / 0.7753 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.731, allocations: 11.48 MB / 0.7865 GB, free: 119.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/1.734, allocations: 1.153 MB / 0.7877 GB, free: 118.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/1.735, allocations: 86.3 kB / 0.7877 GB, free: 118.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00292/1.738, allocations: 235.7 kB / 0.788 GB, free: 118.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008172/1.739, allocations: 334.5 kB / 0.7883 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000334/1.739, allocations: 131.2 kB / 0.7884 GB, free: 118 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004859/1.744, allocations: 3.196 MB / 0.7915 GB, free: 115.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.744, allocations: 0 / 0.7915 GB, free: 115.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006328/1.75, allocations: 1.866 MB / 0.7934 GB, free: 113.5 MB / 494.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.0007142/1.751, allocations: 280.7 kB / 0.7936 GB, free: 113.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01139/1.763, allocations: 8.13 MB / 0.8016 GB, free: 105.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.763, allocations: 4 kB / 0.8016 GB, free: 105.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006397/1.769, allocations: 4.647 MB / 0.8061 GB, free: 100.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008346/1.777, allocations: 1.252 MB / 0.8073 GB, free: 99.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03389/1.811, allocations: 23.8 MB / 0.8306 GB, free: 75.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009526/1.821, allocations: 6.781 MB / 0.8372 GB, free: 68.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006341/1.827, allocations: 1.865 MB / 0.839 GB, free: 66.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/1.829, allocations: 395.3 kB / 0.8394 GB, free: 66.22 MB / 494.1 MB Notification: Performance of SimCode: time 9.21e-07/1.829, allocations: 3.938 kB / 0.8394 GB, free: 66.22 MB / 494.1 MB Notification: Performance of Templates: time 0.3498/2.179, allocations: 81.4 MB / 0.9189 GB, free: 125 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches