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.001377/0.001377, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001632/0.001632, allocations: 194 kB / 18.72 MB, free: 4.762 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.983/1.983, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001787/0.001787, allocations: 48.41 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1742, allocations: 46.64 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01411/0.1884, allocations: 8.906 MB / 336.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008406/0.1969, allocations: 3.187 MB / 339.3 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.1987, allocations: 35.88 kB / 339.4 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.2009, allocations: 0.6021 MB / 340 MB, free: 8.094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.2034, allocations: 0.6217 MB / 340.6 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008178/0.2042, allocations: 295.6 kB / 340.9 MB, free: 7.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003025/0.2073, allocations: 2.437 MB / 343.3 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.2089, allocations: 1.172 MB / 344.5 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.2104, allocations: 0.7937 MB / 345.3 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.2119, allocations: 1.101 MB / 346.4 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.2121, allocations: 140 kB / 346.5 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006341/0.2128, allocations: 239.8 kB / 346.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006638/0.2134, allocations: 0.5841 MB / 347.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.2146, allocations: 0.9912 MB / 348.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.2176, allocations: 2.564 MB / 350.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2176, allocations: 0 / 350.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2176, allocations: 0 / 350.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.784e-05/0.2177, allocations: 0 / 350.9 MB, free: 13.09 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.005555/0.2232, allocations: 2.261 MB / 353.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/0.2233, allocations: 8.031 kB / 353.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007697/0.2241, allocations: 230.5 kB / 353.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.2264, allocations: 1.145 MB / 354.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.2265, allocations: 111.5 kB / 354.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002694/0.2268, allocations: 163.8 kB / 354.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004377/0.2312, allocations: 2.004 MB / 356.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.513e-05/0.2313, allocations: 3.984 kB / 356.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.2314, allocations: 67.94 kB / 356.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.2315, allocations: 78.86 kB / 357 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003206/0.2348, allocations: 1.639 MB / 358.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02083/0.2556, allocations: 6.952 MB / 365.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.257, allocations: 440.5 kB / 366 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.2576, allocations: 262.6 kB / 366.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000366/0.258, allocations: 121.4 kB / 366.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.176e-05/0.2581, allocations: 39 kB / 366.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 5.32e-06/0.2581, allocations: 3.938 kB / 366.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.01276/0.2709, allocations: 3.28 MB / 369.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003518/0.2745, allocations: 2.17 MB / 371.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003719/0.2782, allocations: 1.619 MB / 373.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.2784, allocations: 37.7 kB / 373.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.2795, allocations: 1.018 MB / 374.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.2798, allocations: 240.8 kB / 374.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005013/0.2803, allocations: 319.2 kB / 375.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.2805, allocations: 305.1 kB / 375.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008977/0.2814, allocations: 0.5192 MB / 375.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.2833, allocations: 1.465 MB / 377.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2318/0.5151, allocations: 2.129 MB / 379.5 MB, free: 49.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-05/0.5152, allocations: 9.625 kB / 379.5 MB, free: 49.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004068/0.5192, allocations: 2.162 MB / 381.7 MB, free: 49.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.5193, allocations: 19.38 kB / 381.7 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-05/0.5194, allocations: 39.62 kB / 381.7 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/0.5199, allocations: 222.8 kB / 381.9 MB, free: 49.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.521, allocations: 395.3 kB / 382.3 MB, free: 49.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.5225, allocations: 1.716 MB / 384 MB, free: 47.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.524, allocations: 140.8 kB / 384.2 MB, free: 47.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.5241, allocations: 95.44 kB / 384.3 MB, free: 47.81 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001134/0.5253, allocations: 0.5904 MB / 384.9 MB, free: 47.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/0.5257, allocations: 151.7 kB / 385 MB, free: 47.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.5278, allocations: 1.116 MB / 386.1 MB, free: 47.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.5278, allocations: 10.38 kB / 386.1 MB, free: 47.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5278, allocations: 4.594 kB / 386.1 MB, free: 47.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5278, allocations: 3.562 kB / 386.1 MB, free: 47.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006107/0.534, allocations: 3.39 MB / 389.5 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.534, allocations: 3.094 kB / 389.5 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.5345, allocations: 112 kB / 389.6 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007296/0.5352, allocations: 224.5 kB / 389.9 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.5353, allocations: 18.16 kB / 389.9 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/0.5386, allocations: 3.706 MB / 393.6 MB, free: 42.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001445/0.5401, allocations: 2.024 MB / 395.6 MB, free: 40.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.5425, allocations: 1.74 MB / 397.4 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006899/0.5432, allocations: 306.8 kB / 397.7 MB, free: 39.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.5434, allocations: 17.16 kB / 397.7 MB, free: 39.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/0.544, allocations: 50.59 kB / 397.7 MB, free: 39.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.5442, allocations: 64.59 kB / 397.8 MB, free: 39.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.5443, allocations: 27.56 kB / 397.8 MB, free: 39.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001731/0.546, allocations: 1.077 MB / 398.9 MB, free: 39.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.546, allocations: 0 / 398.9 MB, free: 39.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001833/0.5479, allocations: 382 kB / 399.3 MB, free: 38.97 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003266/0.5482, allocations: 173.4 kB / 399.4 MB, free: 38.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.5503, allocations: 1.597 MB / 401 MB, free: 38.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5503, allocations: 3.781 kB / 401 MB, free: 38.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009857/0.5513, allocations: 0.8337 MB / 401.9 MB, free: 37.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.5531, allocations: 399.8 kB / 402.3 MB, free: 37.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.5578, allocations: 3.898 MB / 406.1 MB, free: 34.49 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009225/0.5588, allocations: 1.453 MB / 407.6 MB, free: 33.01 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.5592, allocations: 119.4 kB / 407.7 MB, free: 32.89 MB / 318.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5592, allocations: 0 / 407.7 MB, free: 32.89 MB / 318.1 MB Notification: Performance of Templates: time 0.05214/0.6114, allocations: 47.15 MB / 454.9 MB, free: 1.676 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++ -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.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