Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009907/0.0009907, allocations: 94.44 kB / 16.96 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 179.2 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002614, allocations: 5.344 kB / 301.5 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1332, allocations: 50.43 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01557/0.1488, allocations: 14.17 MB / 366 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009794/0.1587, allocations: 3.718 MB / 369.8 MB, free: 2.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003623/0.1624, allocations: 123.7 kB / 369.9 MB, free: 1.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003294/0.1657, allocations: 0.6871 MB / 370.6 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006458/0.1722, allocations: 1.208 MB / 371.8 MB, free: 44 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2719/0.4441, allocations: 0.7972 MB / 372.6 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01152/0.4556, allocations: 7.56 MB / 380.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03896/0.4946, allocations: 18.3 MB / 398.4 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007347/0.502, allocations: 3.285 MB / 401.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007651/0.5097, allocations: 3.66 MB / 405.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002044/0.5118, allocations: 0.5469 MB / 405.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004372/0.5162, allocations: 0.7859 MB / 406.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.5181, allocations: 1.484 MB / 408.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004429/0.5225, allocations: 1.748 MB / 409.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01875/0.5413, allocations: 15.5 MB / 425.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5413, allocations: 0 / 425.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5413, allocations: 0 / 425.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006583/0.542, allocations: 0 / 425.4 MB, free: 11.07 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.02576/0.5677, allocations: 8.59 MB / 434 MB, free: 2.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.5678, allocations: 16.03 kB / 434.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01916/0.587, allocations: 3.752 MB / 437.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/0.6006, allocations: 5.126 MB / 442.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007669/0.6014, allocations: 0.6822 MB / 443.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004464/0.6059, allocations: 0.8883 MB / 444.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03922/0.6451, allocations: 12.67 MB / 457.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002586/0.6454, allocations: 7.906 kB / 457.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002606/0.648, allocations: 374.8 kB / 457.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003983/0.6484, allocations: 403.1 kB / 457.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02677/0.6752, allocations: 11.36 MB / 469.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09347/0.7687, allocations: 43.79 MB / 0.5011 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/0.7809, allocations: 10.52 MB / 0.5113 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003287/0.7842, allocations: 1.718 MB / 0.513 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.7846, allocations: 137.8 kB / 0.5131 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.7846, allocations: 68.5 kB / 0.5132 GB, free: 4.824 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 4.278e-06/0.7846, allocations: 0 / 0.5132 GB, free: 4.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=229): time 0.009349/0.794, allocations: 4.739 MB / 0.5178 GB, free: 64 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.7941, allocations: 73.45 kB / 0.5179 GB, free: 15.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/0.7998, allocations: 2.906 MB / 0.5207 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004674/0.8003, allocations: 61.7 kB / 0.5208 GB, free: 12.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003362/0.8037, allocations: 3.827 MB / 0.5245 GB, free: 9.133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001259/0.805, allocations: 0.8107 MB / 0.5253 GB, free: 8.328 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.8052, allocations: 96 kB / 0.5254 GB, free: 8.234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004014/0.8056, allocations: 0.4962 MB / 0.5259 GB, free: 7.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/0.8091, allocations: 1.992 MB / 0.5279 GB, free: 5.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005389/0.8145, allocations: 4.173 MB / 0.5319 GB, free: 500 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.5458/1.36, allocations: 3.036 MB / 0.5349 GB, free: 130.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/1.361, allocations: 20.94 kB / 0.5349 GB, free: 130.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01555/1.376, allocations: 6.547 MB / 0.5413 GB, free: 128.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.376, allocations: 37.25 kB / 0.5413 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001942/1.376, allocations: 74.66 kB / 0.5414 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/1.378, allocations: 422.4 kB / 0.5418 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003886/1.382, allocations: 1.058 MB / 0.5428 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005364/1.387, allocations: 4.049 MB / 0.5468 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.391, allocations: 0.6211 MB / 0.5474 GB, free: 126 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000449/1.391, allocations: 250 kB / 0.5476 GB, free: 126 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.006261/1.397, allocations: 3.375 MB / 0.5509 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007534/1.398, allocations: 275.3 kB / 0.5512 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/1.403, allocations: 3.66 MB / 0.5548 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003638/1.407, allocations: 2.864 MB / 0.5576 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/1.407, allocations: 3.969 kB / 0.5576 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/1.407, allocations: 22.39 kB / 0.5576 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/1.421, allocations: 10.04 MB / 0.5674 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.421, allocations: 0 / 0.5674 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.423, allocations: 415.1 kB / 0.5678 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005902/1.423, allocations: 319.4 kB / 0.5681 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.423, allocations: 47.16 kB / 0.5681 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/1.427, allocations: 3.883 MB / 0.5719 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.427, allocations: 0 / 0.5719 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00637/1.434, allocations: 5.237 MB / 0.5771 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.435, allocations: 0.621 MB / 0.5777 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/1.435, allocations: 44 kB / 0.5777 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009637/1.436, allocations: 135.3 kB / 0.5778 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/1.436, allocations: 151 kB / 0.578 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.437, allocations: 60 kB / 0.578 GB, free: 111.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002935/1.439, allocations: 1.942 MB / 0.5799 GB, free: 109.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.01e-07/1.439, allocations: 0 / 0.5799 GB, free: 109.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005943/1.445, allocations: 1.955 MB / 0.5818 GB, free: 107.7 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.0005204/1.446, allocations: 215.9 kB / 0.582 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007118/1.453, allocations: 4.677 MB / 0.5866 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.453, allocations: 0 / 0.5866 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002034/1.455, allocations: 1.78 MB / 0.5884 GB, free: 101.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/1.458, allocations: 0.6455 MB / 0.589 GB, free: 100.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/1.481, allocations: 16.01 MB / 0.6046 GB, free: 84.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00467/1.486, allocations: 5.486 MB / 0.61 GB, free: 78.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.487, allocations: 263.4 kB / 0.6102 GB, free: 78.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.084e-06/1.487, allocations: 4 kB / 0.6102 GB, free: 78.66 MB / 446.1 MB Notification: Performance of Templates: time 0.4611/1.948, allocations: 131 MB / 0.7381 GB, free: 127.4 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensorsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensorsCalcHelperMain.o] Error 1