Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007806/0.0007808, allocations: 95.84 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.000879/0.000879, allocations: 198.8 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.555/1.555, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 4 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.3014/0.4326, allocations: 14.18 MB / 373 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.443, allocations: 3.769 MB / 376.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003804/0.4469, allocations: 123.8 kB / 376.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003522/0.4504, allocations: 0.6877 MB / 377.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006799/0.4573, allocations: 1.085 MB / 378.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.4613, allocations: 0.9247 MB / 379.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01444/0.4757, allocations: 7.563 MB / 387.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04969/0.5255, allocations: 18.33 MB / 405.4 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008242/0.5338, allocations: 3.285 MB / 408.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008104/0.5419, allocations: 3.658 MB / 412.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002721/0.5447, allocations: 0.5469 MB / 412.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005325/0.55, allocations: 0.8044 MB / 413.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003464/0.5535, allocations: 1.485 MB / 415.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004525/0.5581, allocations: 1.748 MB / 417 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02118/0.5793, allocations: 15.51 MB / 432.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5793, allocations: 0 / 432.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.5794, allocations: 0 / 432.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006686/0.58, allocations: 0 / 432.5 MB, free: 2.875 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02821/0.6083, allocations: 8.599 MB / 441.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.6083, allocations: 8.031 kB / 441.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02018/0.6285, allocations: 3.763 MB / 444.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/0.6421, allocations: 5.12 MB / 450 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/0.6432, allocations: 0.6824 MB / 450.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004609/0.6478, allocations: 0.8905 MB / 451.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03992/0.6878, allocations: 12.67 MB / 464.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004511/0.6883, allocations: 7.906 kB / 464.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003576/0.6919, allocations: 380 kB / 464.6 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005913/0.6925, allocations: 403.1 kB / 465 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03152/0.7241, allocations: 11.35 MB / 476.3 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09842/0.8225, allocations: 44.28 MB / 0.5084 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/0.8354, allocations: 10.52 MB / 0.5187 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002956/0.8384, allocations: 1.714 MB / 0.5204 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004331/0.8388, allocations: 224.1 kB / 0.5206 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.362e-05/0.8389, allocations: 56.56 kB / 0.5206 GB, free: 11.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.26e-06/0.839, allocations: 0 / 0.5206 GB, free: 11.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.01069/0.8497, allocations: 4.739 MB / 0.5253 GB, free: 6.691 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.8498, allocations: 73.41 kB / 0.5253 GB, free: 6.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006303/0.8561, allocations: 2.91 MB / 0.5282 GB, free: 3.676 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004192/0.8565, allocations: 65.7 kB / 0.5282 GB, free: 3.605 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.5033/1.36, allocations: 3.815 MB / 0.532 GB, free: 129.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.361, allocations: 0.8124 MB / 0.5328 GB, free: 128.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000417/1.362, allocations: 95.5 kB / 0.5328 GB, free: 128.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003684/1.362, allocations: 0.4923 MB / 0.5333 GB, free: 128.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004031/1.366, allocations: 1.992 MB / 0.5353 GB, free: 128.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004675/1.371, allocations: 4.183 MB / 0.5394 GB, free: 125.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005063/1.376, allocations: 3.034 MB / 0.5423 GB, free: 124 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/1.376, allocations: 20.97 kB / 0.5423 GB, free: 124 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01291/1.389, allocations: 6.542 MB / 0.5487 GB, free: 121.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.426e-05/1.389, allocations: 44.19 kB / 0.5488 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000192/1.389, allocations: 75.48 kB / 0.5488 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/1.39, allocations: 416.1 kB / 0.5492 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003745/1.394, allocations: 1.066 MB / 0.5503 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/1.399, allocations: 4.058 MB / 0.5542 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/1.402, allocations: 0.6259 MB / 0.5548 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000782/1.403, allocations: 245.2 kB / 0.5551 GB, free: 118.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006486/1.41, allocations: 3.369 MB / 0.5584 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.411, allocations: 278.4 kB / 0.5586 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005996/1.417, allocations: 3.656 MB / 0.5622 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00349/1.42, allocations: 2.874 MB / 0.565 GB, free: 114 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.42, allocations: 7.844 kB / 0.565 GB, free: 114 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/1.42, allocations: 15.53 kB / 0.565 GB, free: 114 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/1.435, allocations: 10.04 MB / 0.5748 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.436, allocations: 2.625 kB / 0.5748 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/1.437, allocations: 412.1 kB / 0.5752 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006493/1.438, allocations: 316.2 kB / 0.5755 GB, free: 110 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/1.438, allocations: 51.55 kB / 0.5756 GB, free: 110 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/1.442, allocations: 3.883 MB / 0.5794 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.442, allocations: 3.938 kB / 0.5794 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005952/1.448, allocations: 5.224 MB / 0.5845 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.449, allocations: 0.6181 MB / 0.5851 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/1.449, allocations: 44 kB / 0.5851 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009284/1.45, allocations: 135.8 kB / 0.5853 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/1.45, allocations: 153.8 kB / 0.5854 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.45, allocations: 63.98 kB / 0.5855 GB, free: 100.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002671/1.453, allocations: 1.943 MB / 0.5874 GB, free: 98.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.453, allocations: 0 / 0.5874 GB, free: 98.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005484/1.458, allocations: 1.957 MB / 0.5893 GB, free: 96.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_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 (218): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004615/1.459, allocations: 197.2 kB / 0.5895 GB, free: 96.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006667/1.466, allocations: 4.676 MB / 0.594 GB, free: 91.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.466, allocations: 4.125 kB / 0.594 GB, free: 91.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.468, allocations: 1.773 MB / 0.5958 GB, free: 89.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/1.471, allocations: 0.6524 MB / 0.5964 GB, free: 89.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/1.499, allocations: 16.01 MB / 0.612 GB, free: 73.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005063/1.504, allocations: 5.482 MB / 0.6174 GB, free: 67.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.505, allocations: 263.4 kB / 0.6176 GB, free: 67.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.763e-06/1.505, allocations: 0 / 0.6176 GB, free: 67.45 MB / 446.1 MB Notification: Performance of Templates: time 0.4937/1.999, allocations: 130.9 MB / 0.7455 GB, free: 135.1 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.QuasiStatic.Polyphase.Examples.TestSensorsCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensorsCalcHelperMain.o] Error 1