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.0008027/0.0008026, allocations: 89.61 kB / 17.95 MB, free: 5.629 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.001057/0.001057, allocations: 184.1 kB / 18.87 MB, free: 4.77 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.105/2.105, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005218/0.0005219, allocations: 8 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1341, allocations: 47.59 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01882/0.153, allocations: 15.67 MB / 345.3 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.1675, allocations: 4.167 MB / 349.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004515/0.172, allocations: 111.7 kB / 349.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003859/0.1759, allocations: 1.027 MB / 350.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007956/0.1839, allocations: 1.353 MB / 351.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.1876, allocations: 1.107 MB / 353.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01482/0.2024, allocations: 8.311 MB / 361.4 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3861/0.5886, allocations: 22.16 MB / 383.5 MB, free: 19.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/0.5996, allocations: 3.411 MB / 386.9 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01281/0.6125, allocations: 4.066 MB / 391 MB, free: 17.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005221/0.6177, allocations: 0.5523 MB / 391.6 MB, free: 17.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008632/0.6264, allocations: 0.8002 MB / 392.4 MB, free: 17.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006703/0.6331, allocations: 1.634 MB / 394 MB, free: 17.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01864/0.6518, allocations: 4.197 MB / 398.2 MB, free: 16.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02426/0.6761, allocations: 15.67 MB / 413.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6762, allocations: 0 / 413.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.6762, allocations: 0 / 413.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0009909/0.6772, allocations: 0 / 413.9 MB, free: 8.812 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.03839/0.7156, allocations: 8.763 MB / 422.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.7157, allocations: 11.28 kB / 422.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03241/0.7481, allocations: 5.735 MB / 428.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/0.7642, allocations: 4.833 MB / 433.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001388/0.7657, allocations: 0.7038 MB / 433.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006831/0.7725, allocations: 0.9256 MB / 434.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05879/0.8314, allocations: 13.62 MB / 448.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007643/0.8322, allocations: 15.56 kB / 448.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005988/0.8382, allocations: 385.3 kB / 448.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007287/0.8389, allocations: 463.9 kB / 449.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04482/0.8838, allocations: 12.84 MB / 462.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1263/1.01, allocations: 47.06 MB / 0.4973 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02234/1.033, allocations: 17.1 MB / 0.514 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004164/1.037, allocations: 1.909 MB / 0.5158 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01324/1.05, allocations: 6.101 MB / 0.5218 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.23e-05/1.05, allocations: 56.56 kB / 0.5218 GB, free: 1.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=194): time 3.768e-06/1.05, allocations: 0 / 0.5218 GB, free: 1.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=194): time 0.009781/1.06, allocations: 4.426 MB / 0.5262 GB, free: 13.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/1.06, allocations: 80.77 kB / 0.5262 GB, free: 13.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007384/1.067, allocations: 3.32 MB / 0.5295 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005274/1.068, allocations: 57.7 kB / 0.5295 GB, free: 10.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00442/1.072, allocations: 4.177 MB / 0.5336 GB, free: 5.848 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001365/1.074, allocations: 0.717 MB / 0.5343 GB, free: 5.137 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007557/1.075, allocations: 408.9 kB / 0.5347 GB, free: 4.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/1.075, allocations: 301.1 kB / 0.535 GB, free: 4.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003834/1.079, allocations: 2.083 MB / 0.537 GB, free: 2.344 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3265/1.405, allocations: 4.725 MB / 0.5416 GB, free: 145.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.416, allocations: 7.17 MB / 0.5486 GB, free: 141.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002083/1.416, allocations: 27.28 kB / 0.5487 GB, free: 141.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01613/1.432, allocations: 7.092 MB / 0.5556 GB, free: 139 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.304e-05/1.432, allocations: 43.5 kB / 0.5556 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000231/1.432, allocations: 95.44 kB / 0.5557 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/1.433, allocations: 426.9 kB / 0.5561 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004004/1.437, allocations: 1.179 MB / 0.5573 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005223/1.443, allocations: 4.063 MB / 0.5612 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/1.448, allocations: 0.7169 MB / 0.5619 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008886/1.448, allocations: 291.2 kB / 0.5622 GB, free: 136.1 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.008027/1.457, allocations: 3.485 MB / 0.5656 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008306/1.457, allocations: 294.2 kB / 0.5659 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005331/1.463, allocations: 3.399 MB / 0.5692 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003299/1.466, allocations: 2.617 MB / 0.5718 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.466, allocations: 7.875 kB / 0.5718 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/1.466, allocations: 9.422 kB / 0.5718 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/1.482, allocations: 9.436 MB / 0.581 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.482, allocations: 8.75 kB / 0.581 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/1.484, allocations: 357.8 kB / 0.5814 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006734/1.485, allocations: 314.5 kB / 0.5817 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/1.485, allocations: 47.78 kB / 0.5817 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004107/1.489, allocations: 3.886 MB / 0.5855 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.489, allocations: 4 kB / 0.5855 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006421/1.495, allocations: 4.84 MB / 0.5902 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/1.497, allocations: 0.6165 MB / 0.5908 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/1.497, allocations: 36 kB / 0.5909 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.498, allocations: 132.8 kB / 0.591 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/1.499, allocations: 136.6 kB / 0.5911 GB, free: 119.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.499, allocations: 51.89 kB / 0.5912 GB, free: 119.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004005/1.503, allocations: 2.203 MB / 0.5933 GB, free: 117.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.503, allocations: 0 / 0.5933 GB, free: 117.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007786/1.511, allocations: 2.027 MB / 0.5953 GB, free: 115.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.0006051/1.511, allocations: 203.1 kB / 0.5955 GB, free: 115.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00746/1.519, allocations: 4.801 MB / 0.6002 GB, free: 111.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.519, allocations: 0.5 kB / 0.6002 GB, free: 111.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002075/1.521, allocations: 1.64 MB / 0.6018 GB, free: 109.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/1.525, allocations: 0.648 MB / 0.6024 GB, free: 109 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03012/1.555, allocations: 17.41 MB / 0.6194 GB, free: 91.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005704/1.561, allocations: 5.627 MB / 0.6249 GB, free: 85.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.562, allocations: 283.4 kB / 0.6252 GB, free: 85.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/1.562, allocations: 0 / 0.6252 GB, free: 85.61 MB / 446.1 MB Notification: Performance of Templates: time 0.5397/2.102, allocations: 135 MB / 0.757 GB, free: 104.2 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