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.0008686/0.0008684, allocations: 89.23 kB / 17.58 MB, free: 5.805 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.0007957/0.0007958, allocations: 180.5 kB / 18.48 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004475/0.0004475, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01408/0.122, allocations: 14.49 MB / 343.5 MB, free: 5.539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009039/0.1311, allocations: 3.871 MB / 347.3 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00254/0.1337, allocations: 107.7 kB / 347.4 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.1355, allocations: 0.7026 MB / 348.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004025/0.1396, allocations: 1.267 MB / 349.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.1418, allocations: 0.9084 MB / 350.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00856/0.1504, allocations: 7.933 MB / 358.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03217/0.1826, allocations: 18.38 MB / 376.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006306/0.1889, allocations: 3.403 MB / 380 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2835/0.4725, allocations: 3.845 MB / 383.9 MB, free: 20.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003512/0.4761, allocations: 0.551 MB / 384.4 MB, free: 20.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005586/0.4817, allocations: 0.7897 MB / 385.2 MB, free: 20.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002634/0.4843, allocations: 1.595 MB / 386.8 MB, free: 20.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00517/0.4895, allocations: 1.796 MB / 388.6 MB, free: 20.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02413/0.5136, allocations: 15.66 MB / 404.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.5137, allocations: 0 / 404.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.5137, allocations: 0 / 404.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.001062/0.5148, allocations: 0 / 404.3 MB, free: 14.55 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.03296/0.5478, allocations: 8.847 MB / 413.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5478, allocations: 6.844 kB / 413.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0304/0.5782, allocations: 5.734 MB / 418.9 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/0.592, allocations: 4.792 MB / 423.7 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009156/0.593, allocations: 0.7018 MB / 424.4 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005626/0.5986, allocations: 0.9183 MB / 425.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05568/0.6544, allocations: 13.54 MB / 438.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007175/0.6551, allocations: 4 kB / 438.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006414/0.6616, allocations: 390 kB / 439.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007394/0.6623, allocations: 469 kB / 439.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04024/0.7026, allocations: 12.76 MB / 452.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1145/0.8172, allocations: 47.03 MB / 499.5 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01999/0.8372, allocations: 17.09 MB / 0.5044 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004041/0.8414, allocations: 1.898 MB / 0.5063 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0142/0.8556, allocations: 6.097 MB / 0.5122 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.8557, allocations: 52.56 kB / 0.5123 GB, free: 1.715 MB / 414.1 MB Notification: Performance of pre-optimization done (n=194): time 5.731e-06/0.8557, allocations: 0 / 0.5123 GB, free: 1.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=194): time 0.009102/0.8648, allocations: 4.392 MB / 0.5166 GB, free: 13.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.8649, allocations: 73.41 kB / 0.5167 GB, free: 13.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00806/0.873, allocations: 3.293 MB / 0.5199 GB, free: 9.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000289/0.8733, allocations: 57.7 kB / 0.5199 GB, free: 9.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003754/0.8771, allocations: 4.181 MB / 0.524 GB, free: 5.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001047/0.8781, allocations: 0.7045 MB / 0.5247 GB, free: 4.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005527/0.8787, allocations: 108 kB / 0.5248 GB, free: 4.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005693/0.8793, allocations: 0.509 MB / 0.5253 GB, free: 4.336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004014/0.8833, allocations: 2.067 MB / 0.5273 GB, free: 2.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2603/1.144, allocations: 4.703 MB / 0.5319 GB, free: 132.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006492/1.15, allocations: 3.219 MB / 0.5351 GB, free: 132.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000142/1.15, allocations: 26.72 kB / 0.5351 GB, free: 132.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01289/1.163, allocations: 7.061 MB / 0.542 GB, free: 130.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.02e-05/1.163, allocations: 42.91 kB / 0.542 GB, free: 130.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/1.164, allocations: 92.09 kB / 0.5421 GB, free: 130.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007826/1.164, allocations: 443.9 kB / 0.5425 GB, free: 130.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/1.168, allocations: 1.178 MB / 0.5437 GB, free: 130.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/1.172, allocations: 4.058 MB / 0.5476 GB, free: 128.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004255/1.176, allocations: 0.7123 MB / 0.5483 GB, free: 128 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007617/1.177, allocations: 291.2 kB / 0.5486 GB, free: 127.9 MB / 430.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 (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.00755/1.184, allocations: 3.486 MB / 0.552 GB, free: 126.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007129/1.185, allocations: 292 kB / 0.5523 GB, free: 126.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/1.19, allocations: 3.392 MB / 0.5556 GB, free: 124.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003218/1.193, allocations: 2.616 MB / 0.5582 GB, free: 123.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.193, allocations: 3.938 kB / 0.5582 GB, free: 123.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/1.193, allocations: 10.92 kB / 0.5582 GB, free: 123.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/1.21, allocations: 9.4 MB / 0.5674 GB, free: 118 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/1.21, allocations: 6 kB / 0.5674 GB, free: 118 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.212, allocations: 364.7 kB / 0.5677 GB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006301/1.212, allocations: 314.5 kB / 0.568 GB, free: 117.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.213, allocations: 47.75 kB / 0.5681 GB, free: 117.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003706/1.216, allocations: 3.871 MB / 0.5718 GB, free: 113.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.216, allocations: 4 kB / 0.5718 GB, free: 113.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/1.222, allocations: 4.814 MB / 0.5765 GB, free: 109.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.223, allocations: 0.6216 MB / 0.5771 GB, free: 109.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/1.224, allocations: 39.95 kB / 0.5772 GB, free: 109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009994/1.225, allocations: 135.3 kB / 0.5773 GB, free: 108.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/1.225, allocations: 125 kB / 0.5774 GB, free: 108.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.225, allocations: 59.94 kB / 0.5775 GB, free: 108.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003622/1.229, allocations: 2.167 MB / 0.5796 GB, free: 107 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.229, allocations: 0 / 0.5796 GB, free: 107 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007101/1.236, allocations: 2.032 MB / 0.5816 GB, free: 105 MB / 430.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 (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.0005394/1.236, allocations: 201.5 kB / 0.5818 GB, free: 104.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007011/1.243, allocations: 4.772 MB / 0.5864 GB, free: 100.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/1.244, allocations: 0 / 0.5864 GB, free: 100.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001811/1.245, allocations: 1.637 MB / 0.588 GB, free: 98.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/1.248, allocations: 0.6506 MB / 0.5887 GB, free: 97.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/1.274, allocations: 16.6 MB / 0.6049 GB, free: 81.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005365/1.279, allocations: 5.63 MB / 0.6104 GB, free: 75.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/1.281, allocations: 279.4 kB / 0.6106 GB, free: 75.35 MB / 430.1 MB Notification: Performance of SimCode: time 2.594e-06/1.281, allocations: 0 / 0.6106 GB, free: 75.35 MB / 430.1 MB Notification: Performance of Templates: time 0.4043/1.685, allocations: 135.3 MB / 0.7427 GB, free: 110.5 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++ 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_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