Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009537, allocations: 91.28 kB / 17.58 MB, free: 5.801 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.001246/0.001246, allocations: 185 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.851/1.851, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004459/0.000446, allocations: 12 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.007913/0.113, allocations: 7.929 MB / 336.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004565/0.1176, allocations: 2.998 MB / 339.9 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004635/0.1181, allocations: 31.88 kB / 339.9 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.1192, allocations: 0.5515 MB / 340.5 MB, free: 8.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.1203, allocations: 0.5942 MB / 341.1 MB, free: 7.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.1208, allocations: 207.7 kB / 341.3 MB, free: 7.711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.1226, allocations: 2.164 MB / 343.5 MB, free: 5.539 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.1238, allocations: 0.9567 MB / 344.4 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007472/0.1245, allocations: 0.7042 MB / 345.1 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.1256, allocations: 0.9573 MB / 346.1 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.1257, allocations: 104 kB / 346.2 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.1261, allocations: 175.8 kB / 346.4 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004827/0.1266, allocations: 0.5296 MB / 346.9 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.1269, allocations: 396.7 kB / 347.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.1287, allocations: 2.489 MB / 349.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1287, allocations: 0 / 349.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1287, allocations: 0 / 349.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.66e-05/0.1288, allocations: 4 kB / 349.8 MB, free: 15.18 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.002928/0.1317, allocations: 1.946 MB / 351.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1317, allocations: 12.03 kB / 351.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004999/0.1322, allocations: 237.4 kB / 351.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.1338, allocations: 1.098 MB / 353 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.1338, allocations: 115.1 kB / 353.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.1341, allocations: 152 kB / 353.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.137, allocations: 1.993 MB / 355.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/0.137, allocations: 11.89 kB / 355.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.1371, allocations: 64 kB / 355.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.748e-05/0.1372, allocations: 82.84 kB / 355.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.1397, allocations: 1.628 MB / 357.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007999/0.1477, allocations: 6.972 MB / 364.1 MB, free: 396 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.1484, allocations: 449 kB / 364.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.1487, allocations: 266 kB / 364.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.1489, allocations: 113.5 kB / 364.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1489, allocations: 43 kB / 364.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 1.824e-06/0.149, allocations: 0 / 364.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.00606/0.155, allocations: 3.291 MB / 368.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00216/0.1572, allocations: 2.186 MB / 370.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.1594, allocations: 1.6 MB / 372 MB, free: 8.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.1595, allocations: 37.7 kB / 372 MB, free: 8.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007048/0.1602, allocations: 1.022 MB / 373 MB, free: 7.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.1604, allocations: 236.8 kB / 373.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.1604, allocations: 36.03 kB / 373.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1606, allocations: 369.9 kB / 373.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007525/0.1614, allocations: 0.5114 MB / 374.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.1628, allocations: 1.453 MB / 375.6 MB, free: 4.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.1639, allocations: 0.8048 MB / 376.4 MB, free: 3.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.1639, allocations: 8 kB / 376.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003266/0.1672, allocations: 2.137 MB / 378.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.1672, allocations: 23.94 kB / 378.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.1673, allocations: 32 kB / 378.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004894/0.1678, allocations: 239.2 kB / 378.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.1688, allocations: 387.3 kB / 379.3 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2094/0.3782, allocations: 1.708 MB / 381 MB, free: 47.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.3801, allocations: 137 kB / 381.1 MB, free: 47.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.3803, allocations: 96.7 kB / 381.2 MB, free: 47.86 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00106/0.3814, allocations: 0.5917 MB / 381.8 MB, free: 47.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003562/0.3817, allocations: 147.7 kB / 381.9 MB, free: 47.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.384, allocations: 1.106 MB / 383 MB, free: 47.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3841, allocations: 10.2 kB / 383 MB, free: 47.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3841, allocations: 1.219 kB / 383 MB, free: 47.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.3841, allocations: 4.469 kB / 383 MB, free: 47.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005575/0.3897, allocations: 3.372 MB / 386.4 MB, free: 46.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.3897, allocations: 5.156 kB / 386.4 MB, free: 46.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.3901, allocations: 113.1 kB / 386.5 MB, free: 46.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006043/0.3907, allocations: 231.9 kB / 386.8 MB, free: 46.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.3908, allocations: 19.36 kB / 386.8 MB, free: 46.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003297/0.3941, allocations: 3.695 MB / 390.5 MB, free: 43.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00173/0.3958, allocations: 2.015 MB / 392.5 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.3984, allocations: 1.735 MB / 394.2 MB, free: 40.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/0.3989, allocations: 305.8 kB / 394.5 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.3991, allocations: 20.14 kB / 394.5 MB, free: 40.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.3997, allocations: 55.75 kB / 394.6 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.3998, allocations: 64.33 kB / 394.7 MB, free: 40.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.3999, allocations: 26.22 kB / 394.7 MB, free: 40.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001647/0.4016, allocations: 1.057 MB / 395.7 MB, free: 40.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4016, allocations: 3.906 kB / 395.7 MB, free: 40.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001668/0.4032, allocations: 383.2 kB / 396.1 MB, free: 40.08 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002444/0.4035, allocations: 134.9 kB / 396.3 MB, free: 39.97 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002144/0.4056, allocations: 1.588 MB / 397.8 MB, free: 39.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.4057, allocations: 4.938 kB / 397.8 MB, free: 39.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.4067, allocations: 0.8378 MB / 398.7 MB, free: 38.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.4084, allocations: 401 kB / 399.1 MB, free: 38.6 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.4126, allocations: 3.744 MB / 402.8 MB, free: 36.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.4134, allocations: 1.46 MB / 404.3 MB, free: 35.37 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.4137, allocations: 121.3 kB / 404.4 MB, free: 35.35 MB / 318.1 MB Notification: Performance of SimCode: time 1.743e-06/0.4137, allocations: 0 / 404.4 MB, free: 35.35 MB / 318.1 MB Notification: Performance of Templates: time 0.04386/0.4576, allocations: 46.85 MB / 451.2 MB, free: 5.574 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoadCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoadCalcHelperMain.o] Error 1