Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009436/0.0009435, allocations: 95.62 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.001037/0.001037, allocations: 201 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.541/1.541, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002407/0.0002407, allocations: 11.94 kB / 307.3 MB, free: 1.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1338, allocations: 51.48 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003959/0.1379, allocations: 2.787 MB / 361.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.1404, allocations: 1.266 MB / 362.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.1406, allocations: 8 kB / 362.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.141, allocations: 107.4 kB / 363 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008841/0.1419, allocations: 350.5 kB / 363.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.1422, allocations: 123.7 kB / 363.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.1428, allocations: 418 kB / 363.8 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.1431, allocations: 119.1 kB / 363.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.1433, allocations: 151.4 kB / 364.1 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.1436, allocations: 175.3 kB / 364.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.1436, allocations: 19.94 kB / 364.3 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.1439, allocations: 139.9 kB / 364.4 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.144, allocations: 63.69 kB / 364.5 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.1441, allocations: 89.52 kB / 364.6 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.1446, allocations: 415.1 kB / 365 MB, free: 7.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1447, allocations: 0 / 365 MB, free: 7.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1447, allocations: 3.938 kB / 365 MB, free: 7.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1447, allocations: 0 / 365 MB, free: 7.668 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001401/0.1461, allocations: 0.6824 MB / 365.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1461, allocations: 12.03 kB / 365.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007137/0.1469, allocations: 119.4 kB / 365.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.1473, allocations: 303.3 kB / 366.1 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.1473, allocations: 21 kB / 366.1 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.1474, allocations: 39.95 kB / 366.2 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.1481, allocations: 353.3 kB / 366.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1481, allocations: 3.938 kB / 366.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.1482, allocations: 16 kB / 366.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1482, allocations: 8 kB / 366.5 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.1487, allocations: 257.9 kB / 366.8 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.1511, allocations: 1.323 MB / 368.1 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.1516, allocations: 201.2 kB / 368.3 MB, free: 4.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.1518, allocations: 89.62 kB / 368.4 MB, free: 4.047 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/0.153, allocations: 1.208 MB / 369.6 MB, free: 2.664 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.153, allocations: 30.56 kB / 369.6 MB, free: 2.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.153, allocations: 0 / 369.6 MB, free: 2.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005951/0.1536, allocations: 233.6 kB / 369.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.1538, allocations: 81.09 kB / 369.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.1541, allocations: 278.9 kB / 370.2 MB, free: 2.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1542, allocations: 29.7 kB / 370.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.1543, allocations: 243.5 kB / 370.5 MB, free: 1.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.1544, allocations: 63.09 kB / 370.5 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.1544, allocations: 8 kB / 370.5 MB, free: 1.664 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1546, allocations: 346.7 kB / 370.9 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1547, allocations: 72.56 kB / 370.9 MB, free: 1.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.155, allocations: 198.4 kB / 371.1 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.1552, allocations: 103.9 kB / 371.2 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1552, allocations: 0 / 371.2 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005277/0.1557, allocations: 325 kB / 371.6 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.1558, allocations: 8 kB / 371.6 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1558, allocations: 4 kB / 371.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.1558, allocations: 8 kB / 371.6 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.1561, allocations: 80.19 kB / 371.7 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.1561, allocations: 19.92 kB / 371.7 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.1563, allocations: 31.69 kB / 371.7 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.1563, allocations: 16 kB / 371.7 MB, free: 408 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.1565, allocations: 157.7 kB / 371.9 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.1566, allocations: 27.7 kB / 371.9 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.1567, allocations: 29.75 kB / 371.9 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1567, allocations: 0 / 371.9 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1567, allocations: 7.984 kB / 371.9 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.1567, allocations: 4 kB / 371.9 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3005/0.4572, allocations: 0.5003 MB / 372.4 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4572, allocations: 0.75 kB / 372.4 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.4575, allocations: 43.44 kB / 372.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.4575, allocations: 3.062 kB / 372.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.4576, allocations: 8.828 kB / 372.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.4576, allocations: 3 kB / 372.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4576, allocations: 4.234 kB / 372.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.4583, allocations: 431.4 kB / 372.9 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4584, allocations: 104.2 kB / 373 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.4584, allocations: 10.22 kB / 373 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.4587, allocations: 16.69 kB / 373.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.4587, allocations: 16.69 kB / 373.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.4587, allocations: 5.578 kB / 373.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.459, allocations: 193.9 kB / 373.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.459, allocations: 6.156 kB / 373.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005297/0.4595, allocations: 86.52 kB / 373.4 MB, free: 18.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001837/0.4597, allocations: 111.3 kB / 373.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.4602, allocations: 191.8 kB / 373.7 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4602, allocations: 3.906 kB / 373.7 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.4604, allocations: 77.22 kB / 373.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.4608, allocations: 32.89 kB / 373.8 MB, free: 18.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.4622, allocations: 0.8411 MB / 374.6 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.4625, allocations: 0.7749 MB / 375.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.4626, allocations: 26.45 kB / 375.4 MB, free: 17.42 MB / 302.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4626, allocations: 0.75 kB / 375.4 MB, free: 17.42 MB / 302.1 MB Notification: Performance of Templates: time 0.008662/0.4713, allocations: 3.391 MB / 378.8 MB, free: 17.14 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Components.SinglePhaseInductanceCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductanceCalcHelperMain.o] Error 1