Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001198/0.001198, allocations: 197.9 kB / 18.73 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 1.989/1.989, 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.001704/0.001704, allocations: 47.94 kB / 280.6 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1522, allocations: 46.63 MB / 327.3 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03353/0.1858, allocations: 24.53 MB / 351.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02523/0.2111, allocations: 7.655 MB / 359.5 MB, free: 4.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01066/0.2219, allocations: 147.5 kB / 359.6 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02436/0.2464, allocations: 7.908 MB / 367.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01601/0.2624, allocations: 2.796 MB / 370.3 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008912/0.2714, allocations: 1.68 MB / 372 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3617/0.6331, allocations: 11.13 MB / 383.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04528/0.6784, allocations: 19.65 MB / 402.8 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0149/0.6934, allocations: 5.146 MB / 407.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.015/0.7084, allocations: 6.282 MB / 414.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006973/0.7155, allocations: 1.111 MB / 415.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.7258, allocations: 1.506 MB / 416.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01227/0.7381, allocations: 3.161 MB / 420 MB, free: 0 / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02353/0.7617, allocations: 5.85 MB / 425.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03374/0.7955, allocations: 20.18 MB / 446 MB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.7956, allocations: 0 / 446 MB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.7956, allocations: 0 / 446 MB, free: 7.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0009378/0.7965, allocations: 0 / 446 MB, free: 7.707 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.05795/0.8545, allocations: 13.63 MB / 459.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.8546, allocations: 8.031 kB / 459.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04211/0.8967, allocations: 7.206 MB / 466.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0177/0.9144, allocations: 6.488 MB / 473.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008903/0.9154, allocations: 0.7366 MB / 474.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00613/0.9215, allocations: 0.9653 MB / 475 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05629/0.9778, allocations: 16.59 MB / 491.6 MB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004133/0.9783, allocations: 23.55 kB / 491.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004977/0.9833, allocations: 407.1 kB / 492.1 MB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007424/0.984, allocations: 0.587 MB / 492.6 MB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04811/1.032, allocations: 15.8 MB / 0.4965 GB, free: 9.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6013/1.633, allocations: 53.88 MB / 0.5491 GB, free: 120.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0224/1.656, allocations: 22.73 MB / 0.5713 GB, free: 103.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006255/1.662, allocations: 3.833 MB / 0.5751 GB, free: 103.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02022/1.682, allocations: 11.79 MB / 0.5866 GB, free: 99.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.31e-05/1.683, allocations: 68.48 kB / 0.5867 GB, free: 99.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=363): time 6.442e-06/1.683, allocations: 3.938 kB / 0.5867 GB, free: 99.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=368): time 0.0402/1.723, allocations: 17.49 MB / 0.6037 GB, free: 91.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/1.723, allocations: 89.36 kB / 0.6038 GB, free: 91.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008277/1.731, allocations: 4.76 MB / 0.6085 GB, free: 88.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001157/1.732, allocations: 85.61 kB / 0.6086 GB, free: 88.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002959/1.735, allocations: 4.469 MB / 0.6129 GB, free: 84.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001987/1.737, allocations: 1.276 MB / 0.6142 GB, free: 83.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002043/1.739, allocations: 1.194 MB / 0.6153 GB, free: 83.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.519e-05/1.74, allocations: 309 kB / 0.6156 GB, free: 82.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004259/1.744, allocations: 2.927 MB / 0.6185 GB, free: 81.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005449/1.749, allocations: 5.296 MB / 0.6237 GB, free: 76.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.76, allocations: 8.711 MB / 0.6322 GB, free: 66.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-05/1.76, allocations: 24 kB / 0.6322 GB, free: 66.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01667/1.777, allocations: 9.666 MB / 0.6416 GB, free: 56.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/1.777, allocations: 44.84 kB / 0.6417 GB, free: 56.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/1.777, allocations: 80 kB / 0.6417 GB, free: 56.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003449/1.78, allocations: 1.399 MB / 0.6431 GB, free: 54.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004935/1.785, allocations: 1.33 MB / 0.6444 GB, free: 53.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/1.801, allocations: 11.67 MB / 0.6558 GB, free: 41.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00745/1.809, allocations: 375.4 kB / 0.6562 GB, free: 41.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002438/1.811, allocations: 300 kB / 0.6565 GB, free: 41.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00976/1.821, allocations: 3.923 MB / 0.6603 GB, free: 37.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001836/1.823, allocations: 450.5 kB / 0.6607 GB, free: 36.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/1.838, allocations: 6.824 MB / 0.6674 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01003/1.848, allocations: 5.628 MB / 0.6729 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-05/1.848, allocations: 19.92 kB / 0.6729 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.121e-05/1.849, allocations: 15.94 kB / 0.6729 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03747/1.886, allocations: 15.51 MB / 0.6881 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/1.886, allocations: 4 kB / 0.6881 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003362/1.889, allocations: 0.667 MB / 0.6887 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004129/1.894, allocations: 1.263 MB / 0.6899 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001089/1.895, allocations: 95.91 kB / 0.69 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/1.912, allocations: 10.57 MB / 0.7004 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.912, allocations: 4 kB / 0.7004 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02323/1.936, allocations: 10.09 MB / 0.7102 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003973/1.94, allocations: 1.03 MB / 0.7112 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002087/1.942, allocations: 76.09 kB / 0.7113 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003724/1.946, allocations: 219.7 kB / 0.7115 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3288/2.274, allocations: 275.8 kB / 0.7118 GB, free: 144.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001345/2.276, allocations: 114.8 kB / 0.7119 GB, free: 144.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01075/2.287, allocations: 3.227 MB / 0.715 GB, free: 144.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.01e-07/2.287, allocations: 0 / 0.715 GB, free: 144.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01441/2.301, allocations: 1.699 MB / 0.7167 GB, free: 144.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00262/2.304, allocations: 0.5007 MB / 0.7172 GB, free: 144.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02108/2.325, allocations: 7.582 MB / 0.7246 GB, free: 142.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/2.325, allocations: 0 / 0.7246 GB, free: 142.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00869/2.334, allocations: 3.607 MB / 0.7281 GB, free: 141 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01057/2.344, allocations: 0.97 MB / 0.7291 GB, free: 140.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05016/2.394, allocations: 21.93 MB / 0.7505 GB, free: 128.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00872/2.403, allocations: 6.372 MB / 0.7567 GB, free: 126.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002433/2.406, allocations: 407.9 kB / 0.7571 GB, free: 126.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/2.406, allocations: 4 kB / 0.7571 GB, free: 126.2 MB / 462.1 MB Notification: Performance of Templates: time 0.6587/3.064, allocations: 227.8 MB / 0.9796 GB, free: 66.43 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o] Error 1