Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007845/0.0007845, 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.0008499/0.0008501, 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.503/1.503, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 11.94 kB / 307.3 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 51.5 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008746/0.1325, allocations: 5.734 MB / 364.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005493/0.138, allocations: 2.231 MB / 366.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005775/0.1386, allocations: 24 kB / 366.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008931/0.1395, allocations: 274.5 kB / 367.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.1411, allocations: 453.6 kB / 367.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.1435, allocations: 1.085 MB / 368.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.145, allocations: 1.027 MB / 369.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0033/0.1483, allocations: 1.554 MB / 371.2 MB, free: 1.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007424/0.1491, allocations: 402.4 kB / 371.6 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006275/0.1497, allocations: 0.529 MB / 372.1 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.928e-05/0.1498, allocations: 48 kB / 372.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.1509, allocations: 383.6 kB / 372.5 MB, free: 336 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.1511, allocations: 183.2 kB / 372.7 MB, free: 152 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3022/0.4533, allocations: 213.6 kB / 372.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003521/0.4569, allocations: 1.245 MB / 374.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.988e-06/0.4569, allocations: 1.922 kB / 374.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4569, allocations: 0 / 374.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.905e-05/0.4569, allocations: 0 / 374.2 MB, free: 10.14 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006728/0.4637, allocations: 1.853 MB / 376 MB, free: 9.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.4638, allocations: 9.281 kB / 376 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/0.4676, allocations: 0.5169 MB / 376.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.4681, allocations: 302 kB / 376.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.4682, allocations: 96.36 kB / 376.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003691/0.4686, allocations: 130.9 kB / 377.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/0.472, allocations: 1.307 MB / 378.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.472, allocations: 1.797 kB / 378.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.4722, allocations: 51.67 kB / 378.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-05/0.4722, allocations: 31.69 kB / 378.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.4753, allocations: 1.222 MB / 379.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00865/0.484, allocations: 4.322 MB / 384 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/0.4867, allocations: 2.444 MB / 386.4 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.4878, allocations: 0.5084 MB / 386.9 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.488, allocations: 195.1 kB / 387.1 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.4881, allocations: 51.03 kB / 387.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 3.196e-06/0.4881, allocations: 0 / 387.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.01173/0.4998, allocations: 4.036 MB / 391.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.4999, allocations: 91.23 kB / 391.3 MB, free: 4.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005674/0.5005, allocations: 392 kB / 391.7 MB, free: 4.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.065e-05/0.5006, allocations: 45.95 kB / 391.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.5008, allocations: 450.6 kB / 392.2 MB, free: 4.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.5012, allocations: 426 kB / 392.6 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.5012, allocations: 24.5 kB / 392.6 MB, free: 3.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5014, allocations: 384.9 kB / 393 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.5025, allocations: 455.3 kB / 393.4 MB, free: 3.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.5037, allocations: 0.7169 MB / 394.2 MB, free: 2.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.5049, allocations: 0.5292 MB / 394.7 MB, free: 2.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.5049, allocations: 1.375 kB / 394.7 MB, free: 2.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003197/0.5081, allocations: 1.505 MB / 396.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.5081, allocations: 12.33 kB / 396.2 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.5082, allocations: 7.125 kB / 396.2 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/0.5087, allocations: 202.4 kB / 396.4 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.5099, allocations: 301.1 kB / 396.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/0.5139, allocations: 3.974 MB / 400.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.5149, allocations: 83.08 kB / 400.8 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.401e-05/0.515, allocations: 58.61 kB / 400.8 MB, free: 13.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000616/0.5157, allocations: 270.6 kB / 401.1 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.5158, allocations: 63.78 kB / 401.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.5191, allocations: 1.396 MB / 402.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.5191, allocations: 12.81 kB / 402.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.5192, allocations: 3.188 kB / 402.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.5192, allocations: 7.969 kB / 402.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005322/0.5245, allocations: 2.669 MB / 405.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.5245, allocations: 4 kB / 405.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009684/0.5255, allocations: 225 kB / 405.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/0.526, allocations: 166.7 kB / 405.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.31e-05/0.5261, allocations: 31.98 kB / 405.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/0.5301, allocations: 3.771 MB / 409.4 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.5301, allocations: 4 kB / 409.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/0.5342, allocations: 1.934 MB / 411.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005011/0.5347, allocations: 227 kB / 411.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.5349, allocations: 24 kB / 411.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/0.5357, allocations: 75.27 kB / 411.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.5359, allocations: 92.86 kB / 411.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.536, allocations: 35.98 kB / 411.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003743/0.5364, allocations: 263.2 kB / 412.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5364, allocations: 2.734 kB / 412.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001651/0.5381, allocations: 312.1 kB / 412.4 MB, free: 3.547 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (106): * Single equations (assignments): 104 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004245/0.5385, allocations: 182.8 kB / 412.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003503/0.542, allocations: 1.495 MB / 414 MB, free: 1.891 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.542, allocations: 0 / 414 MB, free: 1.891 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.5438, allocations: 0.8858 MB / 414.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.5445, allocations: 69.55 kB / 415 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/0.5499, allocations: 2.422 MB / 417.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000884/0.5508, allocations: 1.011 MB / 418.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.5513, allocations: 87.39 kB / 418.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of SimCode: time 2.265e-06/0.5513, allocations: 0 / 418.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Templates: time 0.03318/0.5845, allocations: 19.49 MB / 438 MB, free: 9.879 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.BasicExamples.QuadraticCoreAirgapCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapCalcHelperMain.o] Error 1