Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000972/0.0009718, allocations: 91.25 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 192.1 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002582/0.0002582, allocations: 11.98 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1296, allocations: 51.48 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.01418/0.1438, allocations: 13.07 MB / 371.9 MB, free: 1.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2763/0.4201, allocations: 4.477 MB / 376.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.4233, allocations: 82.16 kB / 376.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0034/0.4267, allocations: 0.8067 MB / 377.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005674/0.4324, allocations: 1.197 MB / 378.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.4351, allocations: 0.648 MB / 379.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00919/0.4443, allocations: 5.173 MB / 384.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006749/0.4511, allocations: 2.74 MB / 387 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005021/0.4562, allocations: 1.598 MB / 388.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00593/0.4621, allocations: 2.04 MB / 390.6 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002/0.4642, allocations: 249.2 kB / 390.9 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004267/0.4685, allocations: 455 kB / 391.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002795/0.4713, allocations: 0.9888 MB / 392.3 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003587/0.4749, allocations: 0.9134 MB / 393.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.4867, allocations: 6.761 MB / 400 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.4868, allocations: 0 / 400 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.4868, allocations: 2.25 kB / 400 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003995/0.4872, allocations: 3.938 kB / 400 MB, free: 0.6562 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: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.01576/0.503, allocations: 4.598 MB / 404.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.5031, allocations: 8.031 kB / 404.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006128/0.5092, allocations: 0.94 MB / 405.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008204/0.5174, allocations: 2.823 MB / 408.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004487/0.5179, allocations: 298.7 kB / 408.6 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/0.5199, allocations: 383.9 kB / 409 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.5371, allocations: 5.369 MB / 414.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000192/0.5374, allocations: 0 / 414.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/0.5387, allocations: 166.8 kB / 414.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/0.5389, allocations: 163.7 kB / 414.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.5511, allocations: 4.73 MB / 419.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0407/0.5918, allocations: 17.07 MB / 436.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.602, allocations: 8.788 MB / 445.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003598/0.6056, allocations: 1.88 MB / 447.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.6169, allocations: 5.126 MB / 452.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002321/0.6192, allocations: 1.321 MB / 453.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=185): time 5.761e-06/0.6193, allocations: 0 / 453.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=188): time 0.02032/0.6396, allocations: 8.726 MB / 462.4 MB, free: 2.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.6398, allocations: 235.6 kB / 462.6 MB, free: 2.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0052/0.645, allocations: 2.32 MB / 464.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000275/0.6453, allocations: 57.7 kB / 465 MB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/0.6475, allocations: 1.75 MB / 466.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007696/0.6482, allocations: 0.6153 MB / 467.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.6485, allocations: 48 kB / 467.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.6487, allocations: 382.2 kB / 467.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.6508, allocations: 1.027 MB / 468.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002725/0.6536, allocations: 1.63 MB / 470.4 MB, free: 9.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.656, allocations: 1.247 MB / 471.6 MB, free: 8.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-05/0.656, allocations: 4 kB / 471.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.007454/0.6635, allocations: 3.577 MB / 475.2 MB, free: 5.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.6636, allocations: 12 kB / 475.2 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.943e-05/0.6637, allocations: 16 kB / 475.3 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/0.6658, allocations: 0.7713 MB / 476 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.6674, allocations: 391.4 kB / 476.4 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.681, allocations: 10.85 MB / 487.3 MB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/0.6839, allocations: 147.9 kB / 487.4 MB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005194/0.6844, allocations: 82.3 kB / 487.5 MB, free: 8.234 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 214 * 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 {(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004292/0.6887, allocations: 1.331 MB / 488.8 MB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.6898, allocations: 245 kB / 489.1 MB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007456/0.6973, allocations: 3.385 MB / 492.4 MB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.6973, allocations: 16 kB / 492.5 MB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.222e-05/0.6974, allocations: 12 kB / 492.5 MB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.6974, allocations: 11.95 kB / 492.5 MB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.7137, allocations: 7.033 MB / 499.5 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.7138, allocations: 0 / 499.5 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008655/0.7147, allocations: 191.9 kB / 499.7 MB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002418/0.7171, allocations: 0.934 MB / 0.4889 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.7173, allocations: 43.98 kB / 0.4889 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/0.736, allocations: 15.23 MB / 0.5038 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7361, allocations: 0 / 0.5038 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009953/0.7461, allocations: 4.812 MB / 0.5085 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00233/0.7484, allocations: 0.5565 MB / 0.5091 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/0.7497, allocations: 47.89 kB / 0.5091 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/0.7518, allocations: 111.9 kB / 0.5092 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007133/0.7525, allocations: 205.7 kB / 0.5094 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001785/0.7527, allocations: 59.97 kB / 0.5095 GB, free: 4.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004086/0.7568, allocations: 1.583 MB / 0.511 GB, free: 3.332 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7569, allocations: 0.5625 kB / 0.511 GB, free: 3.332 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004503/0.7614, allocations: 0.7853 MB / 0.5118 GB, free: 2.547 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006044/0.762, allocations: 191.4 kB / 0.512 GB, free: 2.352 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006329/0.7683, allocations: 3.333 MB / 0.5152 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.7684, allocations: 1.875 kB / 0.5152 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004741/0.7731, allocations: 2.389 MB / 0.5175 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005328/0.7785, allocations: 0.6818 MB / 0.5182 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/0.7992, allocations: 8.711 MB / 0.5267 GB, free: 3.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00485/0.8041, allocations: 2.79 MB / 0.5294 GB, free: 248 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/0.8054, allocations: 159.4 kB / 0.5296 GB, free: 92 kB / 446.1 MB Notification: Performance of SimCode: time 2.024e-06/0.8054, allocations: 0 / 0.5296 GB, free: 92 kB / 446.1 MB Notification: Performance of Templates: time 0.429/1.234, allocations: 162.7 MB / 0.6885 GB, free: 1.828 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.o] Error 1