Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009832/0.0009833, allocations: 96.06 kB / 17.96 MB, free: 5.43 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.001481/0.001482, allocations: 176.3 kB / 18.86 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 225 MB, free: 12.85 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.0004721/0.000472, allocations: 19.94 kB / 282 MB, free: 3.367 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1292, allocations: 47.58 MB / 329.6 MB, free: 3.719 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01281/0.1421, allocations: 11.08 MB / 340.7 MB, free: 8.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009299/0.1514, allocations: 3.894 MB / 344.6 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.154, allocations: 51.75 kB / 344.6 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.1565, allocations: 0.7383 MB / 345.4 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004397/0.1609, allocations: 0.8858 MB / 346.3 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.1623, allocations: 475.4 kB / 346.7 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005284/0.1676, allocations: 3.869 MB / 350.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.1706, allocations: 2.221 MB / 352.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.1731, allocations: 1.163 MB / 354 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.1756, allocations: 1.649 MB / 355.6 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003355/0.176, allocations: 172 kB / 355.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.1771, allocations: 435.5 kB / 356.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009128/0.178, allocations: 0.8719 MB / 357.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.1798, allocations: 1.552 MB / 358.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004299/0.1841, allocations: 4.285 MB / 362.9 MB, free: 2.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1842, allocations: 3.984 kB / 362.9 MB, free: 2.195 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1842, allocations: 0 / 362.9 MB, free: 2.195 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.563e-05/0.1843, allocations: 3.938 kB / 362.9 MB, free: 2.191 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.007508/0.1918, allocations: 3.15 MB / 366.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.678e-05/0.1919, allocations: 12.03 kB / 366.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.1934, allocations: 436.7 kB / 366.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/0.1966, allocations: 1.829 MB / 368.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.1968, allocations: 213.3 kB / 368.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004039/0.1972, allocations: 275.9 kB / 368.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006278/0.2035, allocations: 3.533 MB / 372.4 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.203e-05/0.2036, allocations: 7.938 kB / 372.4 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.2038, allocations: 108 kB / 372.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.204, allocations: 125.2 kB / 372.6 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005675/0.2097, allocations: 2.995 MB / 375.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3496/0.5593, allocations: 11.17 MB / 386.8 MB, free: 44.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004509/0.5639, allocations: 2.299 MB / 389.1 MB, free: 43.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/0.567, allocations: 1.2 MB / 390.3 MB, free: 43.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004637/0.5675, allocations: 208.6 kB / 390.5 MB, free: 42.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.043e-05/0.5676, allocations: 48.97 kB / 390.5 MB, free: 42.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 8.906e-06/0.5676, allocations: 2.5 kB / 390.5 MB, free: 42.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.02371/0.5914, allocations: 7.643 MB / 398.2 MB, free: 39.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.5915, allocations: 66.5 kB / 398.2 MB, free: 39.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005578/0.597, allocations: 1.985 MB / 400.2 MB, free: 38.78 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002165/0.5973, allocations: 49.64 kB / 400.3 MB, free: 38.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.5986, allocations: 1.305 MB / 401.6 MB, free: 37.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006377/0.5993, allocations: 0.5074 MB / 402.1 MB, free: 37.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003805/0.5997, allocations: 144.6 kB / 402.2 MB, free: 37.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.5998, allocations: 305.1 kB / 402.5 MB, free: 36.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.6017, allocations: 0.8962 MB / 403.4 MB, free: 36.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.6038, allocations: 1.389 MB / 404.8 MB, free: 35.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003659/0.6074, allocations: 2.418 MB / 407.2 MB, free: 33.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.777e-05/0.6075, allocations: 3.938 kB / 407.2 MB, free: 33.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006227/0.6137, allocations: 3.01 MB / 410.2 MB, free: 31.42 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.6138, allocations: 12 kB / 410.2 MB, free: 31.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.117e-05/0.6139, allocations: 12.69 kB / 410.3 MB, free: 31.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.6152, allocations: 473.4 kB / 410.7 MB, free: 30.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.6169, allocations: 440.1 kB / 411.2 MB, free: 30.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006557/0.6234, allocations: 5.6 MB / 416.8 MB, free: 24.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.626, allocations: 135.8 kB / 416.9 MB, free: 24.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003786/0.6264, allocations: 78.98 kB / 417 MB, free: 24.44 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002979/0.6294, allocations: 0.8454 MB / 417.8 MB, free: 23.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/0.6306, allocations: 210.6 kB / 418 MB, free: 23.38 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005678/0.6363, allocations: 2.621 MB / 420.6 MB, free: 20.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-05/0.6363, allocations: 16 kB / 420.7 MB, free: 20.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/0.6364, allocations: 4 kB / 420.7 MB, free: 20.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.6364, allocations: 7.969 kB / 420.7 MB, free: 20.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.6505, allocations: 5.685 MB / 426.3 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.6505, allocations: 4 kB / 426.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.6517, allocations: 296.1 kB / 426.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.653, allocations: 0.4917 MB / 427.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.835e-05/0.6531, allocations: 39.98 kB / 427.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006556/0.6597, allocations: 7.052 MB / 434.2 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6597, allocations: 4 kB / 434.2 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005924/0.6656, allocations: 3.895 MB / 438.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/0.6671, allocations: 490.3 kB / 438.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.6674, allocations: 32 kB / 438.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.6686, allocations: 115.9 kB / 438.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/0.6689, allocations: 121 kB / 438.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-05/0.669, allocations: 44.92 kB / 438.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00205/0.6711, allocations: 1.359 MB / 440.3 MB, free: 464 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6711, allocations: 0 / 440.3 MB, free: 464 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.002772/0.6739, allocations: 0.5856 MB / 440.9 MB, free: 15.87 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006984/0.6746, allocations: 220.5 kB / 441.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00536/0.68, allocations: 2.633 MB / 443.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.68, allocations: 0 / 443.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002975/0.683, allocations: 1.631 MB / 445.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/0.687, allocations: 479.1 kB / 445.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.7004, allocations: 7.032 MB / 452.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00245/0.7029, allocations: 2.111 MB / 454.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.7039, allocations: 151.4 kB / 455.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of SimCode: time 1.242e-06/0.7039, allocations: 0 / 455.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of Templates: time 0.1184/0.8223, allocations: 74.77 MB / 0.5174 GB, free: 6.531 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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.SMEE_DOLCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.o] Error 1