Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 107.8 kB / 17.81 MB, free: 5.559 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.001234/0.001234, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 51.92 kB / 280.6 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1617, allocations: 46.62 MB / 327.2 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.02232/0.1841, allocations: 16.57 MB / 343.8 MB, free: 4.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.1993, allocations: 4.201 MB / 348 MB, free: 16 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005975/0.2054, allocations: 111.7 kB / 348.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01796/0.2234, allocations: 7.083 MB / 355.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009858/0.2333, allocations: 1.376 MB / 356.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.2389, allocations: 1.115 MB / 357.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01394/0.2528, allocations: 8.311 MB / 366 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3611/0.614, allocations: 18.97 MB / 385 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01131/0.6254, allocations: 4.396 MB / 389.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01371/0.6392, allocations: 5.363 MB / 394.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00724/0.6465, allocations: 1.033 MB / 395.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009453/0.6559, allocations: 1.286 MB / 397.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008867/0.6649, allocations: 2.313 MB / 399.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01734/0.6823, allocations: 4.988 MB / 404.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02283/0.7051, allocations: 16.11 MB / 420.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.7052, allocations: 4 kB / 420.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7052, allocations: 0 / 420.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0009817/0.7062, allocations: 0 / 420.5 MB, free: 2.246 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.04868/0.7549, allocations: 10.81 MB / 431.3 MB, free: 9.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.058e-05/0.755, allocations: 12.03 kB / 431.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03558/0.7906, allocations: 5.711 MB / 437 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01635/0.8071, allocations: 4.83 MB / 441.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00136/0.8085, allocations: 0.7082 MB / 442.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007139/0.8157, allocations: 0.9208 MB / 443.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06114/0.8768, allocations: 13.62 MB / 457.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007703/0.8777, allocations: 7.906 kB / 457.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006082/0.8838, allocations: 395 kB / 457.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000802/0.8846, allocations: 459.9 kB / 457.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04346/0.9281, allocations: 12.84 MB / 470.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1326/1.061, allocations: 46.92 MB / 0.5056 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02327/1.084, allocations: 17.12 MB / 0.5223 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004319/1.088, allocations: 1.909 MB / 0.5241 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01635/1.105, allocations: 6.101 MB / 0.5301 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.501e-05/1.105, allocations: 48.56 kB / 0.5301 GB, free: 7.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 6.633e-06/1.105, allocations: 0 / 0.5301 GB, free: 7.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.01032/1.115, allocations: 4.411 MB / 0.5345 GB, free: 2.598 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/1.115, allocations: 69.41 kB / 0.5345 GB, free: 2.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3831/1.499, allocations: 3.322 MB / 0.5378 GB, free: 148.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005834/1.499, allocations: 56.64 kB / 0.5378 GB, free: 148.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006691/1.506, allocations: 4.176 MB / 0.5419 GB, free: 146.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001801/1.508, allocations: 0.7131 MB / 0.5426 GB, free: 145.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005837/1.514, allocations: 1.069 MB / 0.5436 GB, free: 145.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/1.514, allocations: 301.9 kB / 0.5439 GB, free: 145.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006379/1.52, allocations: 2.078 MB / 0.546 GB, free: 144.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009236/1.529, allocations: 4.734 MB / 0.5506 GB, free: 140.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/1.543, allocations: 7.176 MB / 0.5576 GB, free: 134.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00027/1.543, allocations: 27.5 kB / 0.5576 GB, free: 134.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01667/1.56, allocations: 7.096 MB / 0.5645 GB, free: 132 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/1.56, allocations: 44.16 kB / 0.5646 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000267/1.56, allocations: 91.59 kB / 0.5647 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/1.561, allocations: 431.9 kB / 0.5651 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004041/1.565, allocations: 1.175 MB / 0.5662 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005271/1.571, allocations: 4.051 MB / 0.5702 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005145/1.576, allocations: 0.7236 MB / 0.5709 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/1.577, allocations: 288.8 kB / 0.5712 GB, free: 128.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (626): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008072/1.585, allocations: 3.488 MB / 0.5746 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.586, allocations: 290.9 kB / 0.5748 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005963/1.592, allocations: 3.401 MB / 0.5782 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003672/1.596, allocations: 2.622 MB / 0.5807 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/1.596, allocations: 3.594 kB / 0.5807 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/1.596, allocations: 11.44 kB / 0.5807 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02119/1.617, allocations: 9.435 MB / 0.59 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.617, allocations: 0 / 0.59 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.618, allocations: 356.6 kB / 0.5903 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007468/1.619, allocations: 322.1 kB / 0.5906 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/1.619, allocations: 39.8 kB / 0.5906 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/1.624, allocations: 3.871 MB / 0.5944 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/1.624, allocations: 7.438 kB / 0.5944 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007864/1.632, allocations: 4.84 MB / 0.5992 GB, free: 110.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.634, allocations: 0.6023 MB / 0.5997 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008977/1.635, allocations: 35.98 kB / 0.5998 GB, free: 110 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.637, allocations: 127.8 kB / 0.5999 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/1.637, allocations: 129.8 kB / 0.6 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.637, allocations: 60.05 kB / 0.6001 GB, free: 109.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004517/1.641, allocations: 2.194 MB / 0.6022 GB, free: 107.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.62e-07/1.641, allocations: 0 / 0.6022 GB, free: 107.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009105/1.651, allocations: 2.034 MB / 0.6042 GB, free: 105.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (183): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007663/1.651, allocations: 197.4 kB / 0.6044 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008555/1.66, allocations: 4.799 MB / 0.6091 GB, free: 100.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.66, allocations: 4.188 kB / 0.6091 GB, free: 100.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/1.662, allocations: 1.635 MB / 0.6107 GB, free: 98.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005374/1.668, allocations: 0.6385 MB / 0.6113 GB, free: 98.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03471/1.703, allocations: 17.37 MB / 0.6283 GB, free: 80.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009003/1.712, allocations: 5.623 MB / 0.6338 GB, free: 75.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/1.713, allocations: 287.4 kB / 0.634 GB, free: 74.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/1.713, allocations: 0 / 0.634 GB, free: 74.93 MB / 446.1 MB Notification: Performance of Templates: time 0.4767/2.19, allocations: 136.1 MB / 0.7669 GB, free: 92.32 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensorsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensorsCalcHelperMain.o] Error 1