Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.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.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008311/0.000831, allocations: 89.19 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008581/0.000858, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002654/0.0002654, allocations: 7.984 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.007934/0.1312, allocations: 6.817 MB / 365.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006366/0.1376, allocations: 2.785 MB / 368.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.1387, allocations: 27.94 kB / 368.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.1398, allocations: 310.1 kB / 368.7 MB, free: 4.156 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.1416, allocations: 0.5165 MB / 369.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.1441, allocations: 1.125 MB / 370.4 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002161/0.1463, allocations: 1.511 MB / 371.9 MB, free: 1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3075/0.4538, allocations: 1.449 MB / 373.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.4554, allocations: 0.5095 MB / 373.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.4567, allocations: 0.6502 MB / 374.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.4569, allocations: 64.69 kB / 374.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.4582, allocations: 371.8 kB / 374.9 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003561/0.4586, allocations: 254 kB / 375.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.4593, allocations: 299.2 kB / 375.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.4632, allocations: 1.73 MB / 377.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4632, allocations: 0 / 377.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.4632, allocations: 5.906 kB / 377.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001079/0.4633, allocations: 0 / 377.2 MB, free: 8.781 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: 371 * Number of variables: 371 Notification: Performance of Generate backend data structure: time 0.007955/0.4713, allocations: 1.911 MB / 379.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.444e-05/0.4714, allocations: 10.59 kB / 379.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004364/0.4757, allocations: 0.6189 MB / 379.7 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.478, allocations: 0.8317 MB / 380.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.4782, allocations: 147.2 kB / 380.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/0.4785, allocations: 152.8 kB / 380.9 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.4821, allocations: 1.341 MB / 382.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/0.4822, allocations: 7.094 kB / 382.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.4823, allocations: 62.56 kB / 382.3 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-05/0.4824, allocations: 35 kB / 382.3 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/0.4856, allocations: 1.31 MB / 383.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009278/0.4949, allocations: 5.001 MB / 388.6 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.4981, allocations: 1.942 MB / 390.6 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.4994, allocations: 0.5812 MB / 391.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.4996, allocations: 192.7 kB / 391.3 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.5012, allocations: 0.7448 MB / 392.1 MB, free: 3.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=132): time 3.156e-06/0.5012, allocations: 0 / 392.1 MB, free: 3.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=166): time 0.01582/0.5171, allocations: 5.712 MB / 397.8 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.5172, allocations: 154.5 kB / 397.9 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009318/0.5181, allocations: 0.6359 MB / 398.6 MB, free: 268 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.5182, allocations: 60.02 kB / 398.6 MB, free: 212 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005935/0.5188, allocations: 0.5821 MB / 399.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004763/0.5193, allocations: 0.534 MB / 399.7 MB, free: 15.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.5194, allocations: 34.41 kB / 399.8 MB, free: 15.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.5197, allocations: 414 kB / 400.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.5208, allocations: 0.5171 MB / 400.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.5222, allocations: 0.8481 MB / 401.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.5235, allocations: 0.625 MB / 402.2 MB, free: 13.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5235, allocations: 2.719 kB / 402.2 MB, free: 13.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004462/0.528, allocations: 2.043 MB / 404.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.528, allocations: 8 kB / 404.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.5281, allocations: 11.95 kB / 404.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/0.5301, allocations: 0.531 MB / 404.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.5312, allocations: 301.6 kB / 405.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.5414, allocations: 8.626 MB / 413.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.5429, allocations: 87.86 kB / 413.8 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.5431, allocations: 67.98 kB / 413.8 MB, free: 1.934 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean1.y_last,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean2.y_last,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean1.y_last,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean2.y_last,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y_last,$PRE.rootMeanSquare.mean1.y_last,rootMeanSquare.mean1.y_last,$PRE.rootMeanSquare.mean2.y_last,rootMeanSquare.mean2.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 157 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 9,(1,100.0%) 19,(1,100.0%) 19} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000992/0.5441, allocations: 365.2 kB / 414.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.5443, allocations: 114.6 kB / 414.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/0.5486, allocations: 1.926 MB / 416.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.5487, allocations: 19.98 kB / 416.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.5487, allocations: 15.95 kB / 416.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.5487, allocations: 11.91 kB / 416.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006784/0.5555, allocations: 3.556 MB / 419.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.5555, allocations: 0 / 419.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009365/0.5565, allocations: 225.2 kB / 420.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.5584, allocations: 0.5072 MB / 420.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.5585, allocations: 39.97 kB / 420.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009505/0.568, allocations: 8.329 MB / 428.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.568, allocations: 7.375 kB / 428.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005934/0.574, allocations: 2.672 MB / 431.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007388/0.5747, allocations: 291.6 kB / 431.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.5749, allocations: 43.98 kB / 431.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/0.5756, allocations: 63.97 kB / 432 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/0.576, allocations: 144.2 kB / 432.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.954e-05/0.5761, allocations: 43.98 kB / 432.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007253/0.5769, allocations: 441.7 kB / 432.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5769, allocations: 0 / 432.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002215/0.5791, allocations: 416 kB / 433 MB, free: 14.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (coil.i,fundamentalWavePermabilitySensor.harmonicPotential.mean1.x,fundamentalWavePermabilitySensor.harmonicPotential.mean2.x,fundamentalWavePermabilitySensor.harmonicFlux.mean1.x,fundamentalWavePermabilitySensor.harmonicFlux.mean2.x,rootMeanSquare.mean1.x,rootMeanSquare.mean2.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y_last,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y_last,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y_last,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y_last,rootMeanSquare.mean1.y_last,rootMeanSquare.mean2.y_last) * Number of discrete states: 6 (fundamentalWavePermabilitySensor.harmonicPotential.mean1.x,fundamentalWavePermabilitySensor.harmonicPotential.mean2.x,fundamentalWavePermabilitySensor.harmonicFlux.mean1.x,fundamentalWavePermabilitySensor.harmonicFlux.mean2.x,rootMeanSquare.mean1.x,rootMeanSquare.mean2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 19,(1,100.0%) 9,(2,100.0%) 16} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005693/0.5797, allocations: 208.3 kB / 433.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004161/0.5838, allocations: 2.103 MB / 435.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.5839, allocations: 0 / 435.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00246/0.5863, allocations: 1.471 MB / 436.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009642/0.5873, allocations: 137.2 kB / 436.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005818/0.5932, allocations: 3.382 MB / 440.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009706/0.5941, allocations: 1.201 MB / 441.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.5945, allocations: 103.4 kB / 441.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of SimCode: time 1.644e-06/0.5946, allocations: 0 / 441.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of Templates: time 0.05755/0.6521, allocations: 40.54 MB / 482.2 MB, free: 13.04 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.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.QuasiStatic.FluxTubes.Examples.NonLinearInductorCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductorCalcHelperMain.o] Error 1