Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008825/0.0008826, allocations: 94.86 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009604/0.0009604, allocations: 197.4 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002731, allocations: 8 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01189/0.1555, allocations: 9.149 MB / 367.9 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008299/0.1639, allocations: 3.082 MB / 371 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.166, allocations: 51.75 kB / 371.1 MB, free: 1.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.1682, allocations: 0.5514 MB / 371.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.1715, allocations: 0.7614 MB / 372.4 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1726, allocations: 251.7 kB / 372.6 MB, free: 260 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3414/0.5141, allocations: 3.493 MB / 376.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003182/0.5173, allocations: 1.756 MB / 377.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.521, allocations: 1.126 MB / 379 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004395/0.5254, allocations: 1.509 MB / 380.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006339/0.5261, allocations: 163 kB / 380.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.5274, allocations: 233.1 kB / 380.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.5286, allocations: 0.8331 MB / 381.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.5299, allocations: 0.6099 MB / 382.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006227/0.5362, allocations: 4.177 MB / 386.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.5362, allocations: 5.438 kB / 386.5 MB, free: 7.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5362, allocations: 4 kB / 386.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002273/0.5365, allocations: 0 / 386.5 MB, free: 7.98 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.01107/0.5475, allocations: 3.03 MB / 389.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.5476, allocations: 8.938 kB / 389.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/0.5506, allocations: 391.3 kB / 390 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006888/0.5575, allocations: 1.81 MB / 391.8 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/0.558, allocations: 195.1 kB / 392 MB, free: 5.234 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001683/0.5597, allocations: 260.2 kB / 392.2 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.5734, allocations: 3.528 MB / 395.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.5736, allocations: 11.16 kB / 395.8 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009977/0.5746, allocations: 103 kB / 395.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.5748, allocations: 118.5 kB / 396 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007233/0.582, allocations: 3.09 MB / 399.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02163/0.6037, allocations: 10.94 MB / 410 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/0.6076, allocations: 3.084 MB / 413.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002302/0.6099, allocations: 1.395 MB / 414.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/0.6103, allocations: 125.9 kB / 414.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001854/0.6121, allocations: 1.161 MB / 415.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=156): time 3.727e-06/0.6121, allocations: 0 / 415.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=172): time 0.02042/0.6326, allocations: 8.926 MB / 424.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.6327, allocations: 176.2 kB / 424.9 MB, free: 7.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/0.6359, allocations: 1.828 MB / 426.7 MB, free: 6.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.6361, allocations: 57.7 kB / 426.7 MB, free: 6.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.6374, allocations: 1.192 MB / 427.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/0.6379, allocations: 0.561 MB / 428.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.638, allocations: 40 kB / 428.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.6382, allocations: 377.9 kB / 428.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.6399, allocations: 1.003 MB / 429.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/0.6418, allocations: 1.446 MB / 431.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.6436, allocations: 1.17 MB / 432.5 MB, free: 132 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.6436, allocations: 4 kB / 432.5 MB, free: 128 kB / 334.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00585/0.6495, allocations: 3.334 MB / 435.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.6495, allocations: 12.47 kB / 435.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.6496, allocations: 12.56 kB / 435.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002013/0.6516, allocations: 0.8801 MB / 436.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.6528, allocations: 339.4 kB / 437.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.6646, allocations: 9.557 MB / 446.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.6668, allocations: 148 kB / 446.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.667, allocations: 71.98 kB / 446.9 MB, free: 1.352 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (185): * Single equations (assignments): 180 * 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,(9,33.3%) 25,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002202/0.6692, allocations: 0.933 MB / 447.8 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.6696, allocations: 205.6 kB / 448 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006797/0.6764, allocations: 3.122 MB / 451.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/0.6765, allocations: 24 kB / 451.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/0.6765, allocations: 11.95 kB / 451.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-05/0.6765, allocations: 7.969 kB / 451.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/0.694, allocations: 6.283 MB / 457.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.6941, allocations: 4.234 kB / 457.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.6954, allocations: 219.7 kB / 457.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/0.6987, allocations: 0.9289 MB / 458.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/0.699, allocations: 35.98 kB / 458.6 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/0.7179, allocations: 11 MB / 469.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.718, allocations: 0 / 469.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/0.7295, allocations: 4.532 MB / 474.2 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/0.7319, allocations: 0.4945 MB / 474.7 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005431/0.7325, allocations: 35.98 kB / 474.7 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/0.7341, allocations: 119.9 kB / 474.8 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007386/0.7348, allocations: 200.9 kB / 475 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/0.735, allocations: 47.98 kB / 475.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003285/0.7383, allocations: 1.247 MB / 476.3 MB, free: 3.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7383, allocations: 0 / 476.3 MB, free: 3.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004528/0.7429, allocations: 0.6407 MB / 476.9 MB, free: 2.645 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * 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 (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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,(9,33.3%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000626/0.7435, allocations: 169.8 kB / 477.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007569/0.7511, allocations: 3.257 MB / 480.4 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.7511, allocations: 0 / 480.4 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004885/0.756, allocations: 2.215 MB / 482.6 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/0.7609, allocations: 0.5578 MB / 483.1 MB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/0.7783, allocations: 6.717 MB / 489.9 MB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/0.7812, allocations: 2.153 MB / 492 MB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.7824, allocations: 143.4 kB / 492.1 MB, free: 3.195 MB / 398.1 MB Notification: Performance of SimCode: time 1.442e-06/0.7824, allocations: 0 / 492.1 MB, free: 3.195 MB / 398.1 MB Notification: Performance of Templates: time 0.4296/1.212, allocations: 102.5 MB / 0.5807 GB, free: 115.9 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_YDCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDCalcHelperMain.o] Error 1