Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008575/0.0008576, allocations: 91.28 kB / 17.58 MB, free: 5.797 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.0008542/0.0008542, allocations: 180.4 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.812/1.812, allocations: 205.4 MB / 224.6 MB, free: 13.06 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.0004882/0.0004882, allocations: 12 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1207, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02721/0.148, allocations: 25.52 MB / 354.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01917/0.1672, allocations: 6.815 MB / 361.3 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008507/0.1758, allocations: 211.3 kB / 361.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007511/0.1833, allocations: 1.417 MB / 362.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01314/0.1965, allocations: 2.558 MB / 365.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0071/0.2037, allocations: 1.391 MB / 366.9 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.4967/0.7003, allocations: 23.94 MB / 390.8 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08556/0.7859, allocations: 35.78 MB / 426.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01785/0.8039, allocations: 7.057 MB / 433.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01883/0.8228, allocations: 8.211 MB / 441.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006307/0.8291, allocations: 1.168 MB / 443.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/0.8401, allocations: 1.395 MB / 444.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009344/0.8495, allocations: 3.453 MB / 447.9 MB, free: 216 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01087/0.8604, allocations: 3.717 MB / 451.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04509/0.9055, allocations: 33.72 MB / 485.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.9056, allocations: 0 / 485.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.9056, allocations: 0 / 485.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001437/0.9071, allocations: 0 / 485.3 MB, free: 11.94 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.06004/0.9671, allocations: 18.98 MB / 0.4925 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.9672, allocations: 8.031 kB / 0.4925 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06514/1.032, allocations: 12.33 MB / 0.5046 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02353/1.056, allocations: 10.45 MB / 0.5148 GB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001697/1.058, allocations: 1.398 MB / 0.5161 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008375/1.066, allocations: 1.834 MB / 0.5179 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7327/1.799, allocations: 30.73 MB / 0.5479 GB, free: 71.89 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001216/1.8, allocations: 18.25 kB / 0.5479 GB, free: 71.89 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009778/1.81, allocations: 0.7595 MB / 0.5487 GB, free: 71.89 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/1.811, allocations: 0.9925 MB / 0.5497 GB, free: 71.85 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06613/1.878, allocations: 27.75 MB / 0.5768 GB, free: 68.08 MB / 430.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1813/2.059, allocations: 94.56 MB / 0.6691 GB, free: 11.12 MB / 462.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04715/2.106, allocations: 53.34 MB / 0.7212 GB, free: 0.8906 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2835/2.39, allocations: 5.901 MB / 0.727 GB, free: 172.3 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03338/2.423, allocations: 16.87 MB / 0.7434 GB, free: 164.8 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/2.423, allocations: 85.41 kB / 0.7435 GB, free: 164.7 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=439): time 6.843e-06/2.423, allocations: 0 / 0.7435 GB, free: 164.7 MB / 0.4983 GB Notification: Performance of matching and sorting (n=439): time 0.02992/2.453, allocations: 13.12 MB / 0.7563 GB, free: 160.9 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/2.453, allocations: 124.1 kB / 0.7564 GB, free: 160.8 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01141/2.465, allocations: 7.43 MB / 0.7637 GB, free: 158.1 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.000808/2.466, allocations: 97.36 kB / 0.7638 GB, free: 158 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.006665/2.472, allocations: 8.513 MB / 0.7721 GB, free: 151.6 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.002169/2.474, allocations: 1.595 MB / 0.7737 GB, free: 150.4 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006795/2.475, allocations: 219.8 kB / 0.7739 GB, free: 150.3 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0005405/2.476, allocations: 0.7658 MB / 0.7746 GB, free: 149.8 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006565/2.482, allocations: 4.741 MB / 0.7792 GB, free: 148.1 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009798/2.492, allocations: 10.44 MB / 0.7894 GB, free: 138.6 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/2.502, allocations: 7.309 MB / 0.7966 GB, free: 135.4 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001816/2.503, allocations: 56.75 kB / 0.7966 GB, free: 135.4 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.03206/2.535, allocations: 16.08 MB / 0.8123 GB, free: 120.6 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002826/2.535, allocations: 89 kB / 0.8124 GB, free: 120.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004141/2.535, allocations: 196 kB / 0.8126 GB, free: 120.3 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005305/2.541, allocations: 1.734 MB / 0.8143 GB, free: 118.6 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008387/2.549, allocations: 2.496 MB / 0.8167 GB, free: 116.1 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/2.563, allocations: 10.78 MB / 0.8273 GB, free: 105.2 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009999/2.573, allocations: 1.548 MB / 0.8288 GB, free: 103.6 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002296/2.575, allocations: 0.6054 MB / 0.8294 GB, free: 103 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01558/2.591, allocations: 7.394 MB / 0.8366 GB, free: 95.61 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002109/2.593, allocations: 0.6248 MB / 0.8372 GB, free: 94.97 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/2.61, allocations: 8.246 MB / 0.8452 GB, free: 86.7 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009561/2.62, allocations: 6.611 MB / 0.8517 GB, free: 80.07 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.955e-05/2.62, allocations: 15.98 kB / 0.8517 GB, free: 80.05 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.386e-05/2.62, allocations: 26.17 kB / 0.8517 GB, free: 80.03 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0532/2.673, allocations: 20.98 MB / 0.8722 GB, free: 59.06 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/2.673, allocations: 0 / 0.8722 GB, free: 59.06 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003271/2.676, allocations: 0.7646 MB / 0.873 GB, free: 58.29 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004736/2.681, allocations: 1.459 MB / 0.8744 GB, free: 56.84 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007824/2.682, allocations: 101.8 kB / 0.8745 GB, free: 56.74 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/2.695, allocations: 10.42 MB / 0.8847 GB, free: 46.2 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/2.695, allocations: 0 / 0.8847 GB, free: 46.2 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2842/2.979, allocations: 11.93 MB / 0.8963 GB, free: 154.2 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004301/2.983, allocations: 1.369 MB / 0.8977 GB, free: 154.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/2.984, allocations: 76.88 kB / 0.8977 GB, free: 154.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002806/2.987, allocations: 312 kB / 0.898 GB, free: 154.1 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006753/2.988, allocations: 299.6 kB / 0.8983 GB, free: 154.1 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002955/2.988, allocations: 120.8 kB / 0.8984 GB, free: 154.1 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.008821/2.997, allocations: 4.875 MB / 0.9032 GB, free: 153.9 MB / 0.4983 GB Notification: Performance of sort global known variables: time 4.51e-07/2.997, allocations: 2.906 kB / 0.9032 GB, free: 153.9 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01544/3.012, allocations: 4.188 MB / 0.9073 GB, free: 152.9 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,75.0%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/3.014, allocations: 282.4 kB / 0.9076 GB, free: 152.9 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.01883/3.033, allocations: 11.08 MB / 0.9184 GB, free: 149.1 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/3.033, allocations: 0 / 0.9184 GB, free: 149.1 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.005407/3.038, allocations: 4.014 MB / 0.9223 GB, free: 147.5 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007127/3.045, allocations: 1.48 MB / 0.9237 GB, free: 147 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0715/3.117, allocations: 35.37 MB / 0.9583 GB, free: 128.6 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02535/3.142, allocations: 11.23 MB / 0.9692 GB, free: 124.3 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00406/3.146, allocations: 0.5944 MB / 0.9698 GB, free: 123.8 MB / 0.4983 GB Notification: Performance of SimCode: time 3.075e-06/3.146, allocations: 0 / 0.9698 GB, free: 123.8 MB / 0.4983 GB Notification: Performance of Templates: time 0.8229/3.969, allocations: 288.2 MB / 1.251 GB, free: 436 kB / 0.4983 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbenchCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.o] Error 1