Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001233, allocations: 93.67 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 198.6 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 7.984 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 51.5 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0157/0.1673, allocations: 11.87 MB / 370.7 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3485/0.5159, allocations: 4.139 MB / 374.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.5191, allocations: 71.09 kB / 374.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003733/0.5229, allocations: 0.7464 MB / 375.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006146/0.529, allocations: 1.047 MB / 376.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.5316, allocations: 0.6106 MB / 377.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008762/0.5404, allocations: 4.118 MB / 381.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005547/0.546, allocations: 2.212 MB / 383.6 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004097/0.5501, allocations: 1.287 MB / 384.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005076/0.5552, allocations: 1.647 MB / 386.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.5563, allocations: 207.6 kB / 386.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.5592, allocations: 414.6 kB / 387.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.5604, allocations: 0.7693 MB / 387.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002415/0.5628, allocations: 0.7453 MB / 388.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00921/0.572, allocations: 5.567 MB / 394.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.5721, allocations: 0 / 394.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.199e-06/0.5721, allocations: 3.938 kB / 394.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002864/0.5724, allocations: 4.422 kB / 394.3 MB, free: 4.188 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01437/0.5868, allocations: 3.793 MB / 398.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.5868, allocations: 8.031 kB / 398.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/0.5928, allocations: 0.8526 MB / 398.9 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006167/0.599, allocations: 2.319 MB / 401.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.5992, allocations: 234 kB / 401.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.6003, allocations: 314.8 kB / 401.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.6107, allocations: 4.24 MB / 406 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.278e-05/0.6108, allocations: 7.906 kB / 406 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003477/0.6111, allocations: 126.7 kB / 406.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.6113, allocations: 150.2 kB / 406.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008576/0.6199, allocations: 3.663 MB / 409.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0354/0.6554, allocations: 13.62 MB / 423.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008874/0.6643, allocations: 6.891 MB / 430.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003067/0.6674, allocations: 1.42 MB / 431.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009297/0.6767, allocations: 3.897 MB / 435.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.169e-05/0.6769, allocations: 47.56 kB / 435.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 4.058e-06/0.6769, allocations: 4 kB / 435.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01788/0.6948, allocations: 6.745 MB / 442.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/0.6949, allocations: 68.67 kB / 442.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005534/0.7005, allocations: 1.86 MB / 444.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002328/0.7007, allocations: 56.88 kB / 444.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.7023, allocations: 1.435 MB / 446 MB, free: 2.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007723/0.7031, allocations: 498.9 kB / 446.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.7033, allocations: 36 kB / 446.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003305/0.7036, allocations: 369.9 kB / 446.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.7054, allocations: 0.7652 MB / 447.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.7076, allocations: 1.224 MB / 448.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.7098, allocations: 0.983 MB / 449.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/0.7098, allocations: 4 kB / 449.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.006573/0.7164, allocations: 2.663 MB / 452.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.7164, allocations: 15.94 kB / 452.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.317e-05/0.7165, allocations: 12 kB / 452.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.7181, allocations: 0.4902 MB / 453 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.7197, allocations: 391.4 kB / 453.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009772/0.7294, allocations: 6.391 MB / 459.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.7318, allocations: 76.02 kB / 459.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003862/0.7322, allocations: 76 kB / 460 MB, free: 3.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,61.2%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003354/0.7356, allocations: 1.056 MB / 461 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007573/0.7364, allocations: 197.6 kB / 461.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005557/0.7419, allocations: 2.5 MB / 463.7 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.742, allocations: 16 kB / 463.7 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-05/0.742, allocations: 8 kB / 463.7 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.7421, allocations: 3.984 kB / 463.7 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/0.7558, allocations: 5.55 MB / 469.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.7559, allocations: 4.125 kB / 469.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.757, allocations: 227.7 kB / 469.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.7583, allocations: 0.4956 MB / 470 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.7585, allocations: 31.98 kB / 470 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/0.7712, allocations: 10.47 MB / 480.5 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7713, allocations: 4.031 kB / 480.5 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006816/0.7781, allocations: 3.584 MB / 484.1 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/0.7798, allocations: 458.6 kB / 484.5 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.7801, allocations: 32 kB / 484.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008886/0.781, allocations: 75.94 kB / 484.6 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/0.7814, allocations: 109.1 kB / 484.8 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.192e-05/0.7815, allocations: 39.98 kB / 484.8 MB, free: 10.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002502/0.784, allocations: 1.282 MB / 486.1 MB, free: 8.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.784, allocations: 0 / 486.1 MB, free: 8.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00288/0.7869, allocations: 0.5939 MB / 486.7 MB, free: 8.348 MB / 398.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.stator.stray.Phi.re,aimc.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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004501/0.7873, allocations: 171 kB / 486.8 MB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004682/0.792, allocations: 2.411 MB / 489.2 MB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.7921, allocations: 0 / 489.2 MB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002908/0.795, allocations: 1.73 MB / 491 MB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/0.7982, allocations: 0.5038 MB / 491.5 MB, free: 3.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.8127, allocations: 7.126 MB / 498.6 MB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002559/0.8153, allocations: 2.321 MB / 0.4892 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008507/0.8162, allocations: 147.4 kB / 0.4893 GB, free: 9.785 MB / 414.1 MB Notification: Performance of SimCode: time 1.493e-06/0.8162, allocations: 0 / 0.4893 GB, free: 9.785 MB / 414.1 MB Notification: Performance of Templates: time 0.381/1.197, allocations: 97.64 MB / 0.5847 GB, free: 107 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_InitializeCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.o] Error 1