Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 92.5 kB / 16.95 MB, free: 5.953 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.001267/0.001267, allocations: 178.4 kB / 17.84 MB, free: 5.621 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.626/1.626, allocations: 223.2 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002858, allocations: 4 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.3149/0.4409, allocations: 24.68 MB / 376.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01965/0.4606, allocations: 6.534 MB / 383.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008762/0.4694, allocations: 233.8 kB / 383.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008306/0.4778, allocations: 1.365 MB / 384.7 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01488/0.4927, allocations: 2.233 MB / 386.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006189/0.4989, allocations: 1.359 MB / 388.3 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03379/0.5327, allocations: 23.04 MB / 411.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08071/0.6135, allocations: 35.63 MB / 446.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01489/0.6284, allocations: 6.758 MB / 453.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01534/0.6438, allocations: 7.759 MB / 461.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004926/0.6488, allocations: 1.141 MB / 462.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009933/0.6587, allocations: 1.375 MB / 464 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006906/0.6657, allocations: 3.204 MB / 467.2 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01048/0.6762, allocations: 3.603 MB / 470.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05122/0.7274, allocations: 33.24 MB / 0.4922 GB, free: 13.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.7275, allocations: 0 / 0.4922 GB, free: 13.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.257e-05/0.7275, allocations: 0 / 0.4922 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001544/0.7291, allocations: 3.938 kB / 0.4922 GB, free: 13.38 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.08362/0.8127, allocations: 18.24 MB / 0.51 GB, free: 11.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.861e-05/0.8128, allocations: 12.03 kB / 0.51 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07195/0.8848, allocations: 8.364 MB / 0.5182 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6063/1.491, allocations: 11.17 MB / 0.5291 GB, free: 96.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001834/1.493, allocations: 1.335 MB / 0.5304 GB, free: 96.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00908/1.502, allocations: 1.748 MB / 0.5321 GB, free: 95.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09958/1.602, allocations: 28.62 MB / 0.5601 GB, free: 84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001279/1.603, allocations: 15.22 kB / 0.5601 GB, free: 84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008343/1.611, allocations: 0.7269 MB / 0.5608 GB, free: 83.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001318/1.613, allocations: 0.8654 MB / 0.5616 GB, free: 83.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06431/1.677, allocations: 24.68 MB / 0.5857 GB, free: 58.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2009/1.878, allocations: 88.21 MB / 0.6719 GB, free: 1.301 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5618/2.44, allocations: 35.13 MB / 0.7062 GB, free: 139.5 MB / 494.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01133/2.451, allocations: 5.357 MB / 0.7114 GB, free: 139.4 MB / 494.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007048/2.452, allocations: 203.5 kB / 0.7116 GB, free: 139.3 MB / 494.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.444e-05/2.452, allocations: 96.38 kB / 0.7117 GB, free: 139.3 MB / 494.2 MB Notification: Performance of pre-optimization done (n=589): time 7.644e-06/2.452, allocations: 0 / 0.7117 GB, free: 139.3 MB / 494.2 MB Notification: Performance of matching and sorting (n=589): time 0.03511/2.487, allocations: 14.51 MB / 0.7259 GB, free: 134.9 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/2.487, allocations: 140.9 kB / 0.726 GB, free: 134.8 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01112/2.499, allocations: 6.374 MB / 0.7322 GB, free: 132.7 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.001439/2.5, allocations: 116.6 kB / 0.7324 GB, free: 132.6 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.005046/2.505, allocations: 7.597 MB / 0.7398 GB, free: 127 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.002868/2.508, allocations: 2.048 MB / 0.7418 GB, free: 125.4 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006172/2.509, allocations: 210 kB / 0.742 GB, free: 125.3 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 0.0005215/2.509, allocations: 0.7415 MB / 0.7427 GB, free: 124.8 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006841/2.516, allocations: 4.77 MB / 0.7474 GB, free: 123 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01201/2.528, allocations: 9.513 MB / 0.7566 GB, free: 115 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/2.54, allocations: 7.165 MB / 0.7636 GB, free: 111.9 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002678/2.54, allocations: 46.72 kB / 0.7637 GB, free: 111.9 MB / 494.2 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.03064/2.571, allocations: 15.46 MB / 0.7788 GB, free: 104.2 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002644/2.571, allocations: 72 kB / 0.7788 GB, free: 104.1 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003978/2.572, allocations: 160 kB / 0.779 GB, free: 104 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005673/2.577, allocations: 1.68 MB / 0.7806 GB, free: 102.7 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009056/2.586, allocations: 2.352 MB / 0.7829 GB, free: 100.7 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/2.602, allocations: 10.83 MB / 0.7935 GB, free: 90.43 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/2.613, allocations: 1.354 MB / 0.7948 GB, free: 89.07 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003021/2.616, allocations: 0.5312 MB / 0.7954 GB, free: 88.54 MB / 494.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1249): * Single equations (assignments): 1240 * 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 prepare postOptimizeDAE: time 0.01874/2.635, allocations: 7.15 MB / 0.8023 GB, free: 81.37 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003025/2.638, allocations: 0.61 MB / 0.8029 GB, free: 80.75 MB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02068/2.658, allocations: 10.26 MB / 0.813 GB, free: 70.39 MB / 494.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009773/2.668, allocations: 7.889 MB / 0.8207 GB, free: 62.41 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-05/2.668, allocations: 12 kB / 0.8207 GB, free: 62.4 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.395e-05/2.668, allocations: 31.88 kB / 0.8207 GB, free: 62.37 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05323/2.722, allocations: 26.19 MB / 0.8463 GB, free: 35.71 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/2.722, allocations: 8 kB / 0.8463 GB, free: 35.71 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004502/2.726, allocations: 1.006 MB / 0.8473 GB, free: 34.7 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004675/2.731, allocations: 1.469 MB / 0.8487 GB, free: 33.23 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001111/2.732, allocations: 135.9 kB / 0.8488 GB, free: 33.1 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/2.744, allocations: 10.41 MB / 0.859 GB, free: 22.57 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/2.744, allocations: 15.94 kB / 0.859 GB, free: 22.55 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01955/2.764, allocations: 14.32 MB / 0.873 GB, free: 7.887 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003948/2.768, allocations: 1.46 MB / 0.8744 GB, free: 6.398 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/2.769, allocations: 108 kB / 0.8745 GB, free: 6.293 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003201/2.773, allocations: 331.6 kB / 0.8748 GB, free: 5.969 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008438/2.773, allocations: 404.5 kB / 0.8752 GB, free: 5.57 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003379/2.774, allocations: 168 kB / 0.8754 GB, free: 5.406 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.008398/2.782, allocations: 4.254 MB / 0.8795 GB, free: 1.184 MB / 494.2 MB Notification: Performance of sort global known variables: time 1.032e-06/2.782, allocations: 0 / 0.8795 GB, free: 1.184 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.4207/3.203, allocations: 4.033 MB / 0.8835 GB, free: 145.8 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (534): * Single equations (assignments): 525 * 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 Backend phase and start with SimCode phase: time 0.002429/3.205, allocations: 328.2 kB / 0.8838 GB, free: 145.7 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0257/3.231, allocations: 11.45 MB / 0.895 GB, free: 144.2 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/3.231, allocations: 1.875 kB / 0.895 GB, free: 144.2 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/3.242, allocations: 4.713 MB / 0.8996 GB, free: 142.3 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01132/3.253, allocations: 1.502 MB / 0.901 GB, free: 141.8 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06612/3.319, allocations: 34.72 MB / 0.935 GB, free: 123.7 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02679/3.346, allocations: 10.9 MB / 0.9456 GB, free: 119.7 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003643/3.35, allocations: 0.5792 MB / 0.9462 GB, free: 119.6 MB / 0.4983 GB Notification: Performance of SimCode: time 1.964e-06/3.35, allocations: 0 / 0.9462 GB, free: 119.6 MB / 0.4983 GB Notification: Performance of Templates: time 0.6763/4.026, allocations: 280 MB / 1.22 GB, free: 26.25 MB / 0.4983 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbenchCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbenchCalcHelperMain.o] Error 1