Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 108.6 kB / 17.81 MB, free: 5.559 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.001176/0.001176, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.173/2.173, 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.00175/0.00175, allocations: 51.92 kB / 280.6 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1572, allocations: 46.62 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01778/0.1751, allocations: 11.32 MB / 338.6 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.1872, allocations: 3.871 MB / 342.5 MB, free: 5.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004244/0.1915, allocations: 47.81 kB / 342.5 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004727/0.1963, allocations: 0.7422 MB / 343.2 MB, free: 4.816 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006299/0.2027, allocations: 0.8508 MB / 344.1 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.2054, allocations: 463.5 kB / 344.5 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007385/0.2128, allocations: 3.585 MB / 348.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005055/0.2179, allocations: 2.121 MB / 350.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.2215, allocations: 1.249 MB / 351.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004921/0.2264, allocations: 1.736 MB / 353.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001949/0.2284, allocations: 236 kB / 353.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.2316, allocations: 499.5 kB / 354 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00251/0.2341, allocations: 0.9151 MB / 354.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005168/0.2393, allocations: 1.563 MB / 356.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00796/0.2473, allocations: 4.139 MB / 360.6 MB, free: 3.379 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.2474, allocations: 0 / 360.6 MB, free: 3.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2474, allocations: 4 kB / 360.6 MB, free: 3.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002902/0.2477, allocations: 0 / 360.6 MB, free: 3.375 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01394/0.2617, allocations: 3.476 MB / 364.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.847e-05/0.2617, allocations: 12.03 kB / 364.1 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.2633, allocations: 409 kB / 364.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/0.267, allocations: 1.714 MB / 366.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.2673, allocations: 205.3 kB / 366.4 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004101/0.2677, allocations: 244 kB / 366.6 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007037/0.2747, allocations: 3.247 MB / 369.9 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.252e-05/0.2749, allocations: 3.906 kB / 369.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/0.2751, allocations: 108 kB / 370 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/0.2753, allocations: 120.9 kB / 370.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005409/0.2807, allocations: 2.697 MB / 372.8 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.385/0.6658, allocations: 10.36 MB / 383.1 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003829/0.6697, allocations: 1.776 MB / 384.9 MB, free: 45.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003366/0.6731, allocations: 1.055 MB / 386 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005128/0.6736, allocations: 203.8 kB / 386.2 MB, free: 45.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.396e-05/0.6737, allocations: 44.62 kB / 386.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 8.846e-06/0.6737, allocations: 0 / 386.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02628/0.7, allocations: 7.408 MB / 393.6 MB, free: 42.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.7002, allocations: 64.88 kB / 393.7 MB, free: 42.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006778/0.707, allocations: 1.876 MB / 395.6 MB, free: 41.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002505/0.7073, allocations: 46.39 kB / 395.6 MB, free: 41.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.7086, allocations: 1.251 MB / 396.9 MB, free: 40.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000652/0.7093, allocations: 468.8 kB / 397.3 MB, free: 40.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006437/0.7099, allocations: 295.9 kB / 397.6 MB, free: 40.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7101, allocations: 304.7 kB / 397.9 MB, free: 40.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.7117, allocations: 0.808 MB / 398.7 MB, free: 39.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/0.7139, allocations: 1.314 MB / 400 MB, free: 38.61 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003777/0.7177, allocations: 2.254 MB / 402.3 MB, free: 37.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.7177, allocations: 7.875 kB / 402.3 MB, free: 37.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005733/0.7235, allocations: 2.791 MB / 405.1 MB, free: 35.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.7235, allocations: 22.89 kB / 405.1 MB, free: 35.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/0.7236, allocations: 14.59 kB / 405.1 MB, free: 35.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.7247, allocations: 416.7 kB / 405.5 MB, free: 35.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.7262, allocations: 405 kB / 405.9 MB, free: 35.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006898/0.7331, allocations: 5.289 MB / 411.2 MB, free: 30.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/0.7358, allocations: 127.8 kB / 411.3 MB, free: 30.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003775/0.7362, allocations: 75.94 kB / 411.4 MB, free: 30.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * 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,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002445/0.7387, allocations: 0.79 MB / 412.2 MB, free: 29.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/0.7398, allocations: 193.7 kB / 412.4 MB, free: 29.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005021/0.7448, allocations: 2.372 MB / 414.8 MB, free: 26.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-05/0.7449, allocations: 19.98 kB / 414.8 MB, free: 26.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/0.7449, allocations: 4 kB / 414.8 MB, free: 26.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.7449, allocations: 3.984 kB / 414.8 MB, free: 26.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.7561, allocations: 5.294 MB / 420.1 MB, free: 21.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/0.7561, allocations: 8 kB / 420.1 MB, free: 21.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.7572, allocations: 247.6 kB / 420.3 MB, free: 20.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.7584, allocations: 471.1 kB / 420.8 MB, free: 20.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.7585, allocations: 31.98 kB / 420.8 MB, free: 20.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006226/0.7648, allocations: 6.726 MB / 427.5 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.7648, allocations: 11.88 kB / 427.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00587/0.7707, allocations: 3.573 MB / 431.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/0.7724, allocations: 450.6 kB / 431.6 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008765/0.7733, allocations: 39.81 kB / 431.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/0.7751, allocations: 95.89 kB / 431.7 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/0.7755, allocations: 120.7 kB / 431.8 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.7756, allocations: 47.92 kB / 431.9 MB, free: 8.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003041/0.7787, allocations: 1.291 MB / 433.2 MB, free: 7.637 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7787, allocations: 0 / 433.2 MB, free: 7.637 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003291/0.782, allocations: 0.5415 MB / 433.7 MB, free: 7.102 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * 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,12,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.0007941/0.7828, allocations: 218 kB / 433.9 MB, free: 6.891 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004812/0.7876, allocations: 2.413 MB / 436.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.7877, allocations: 0 / 436.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002574/0.7903, allocations: 1.514 MB / 437.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/0.7944, allocations: 428.2 kB / 438.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.8081, allocations: 6.323 MB / 444.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003566/0.8117, allocations: 1.989 MB / 446.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/0.8129, allocations: 143.4 kB / 446.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of SimCode: time 1.513e-06/0.8129, allocations: 0 / 446.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of Templates: time 0.1049/0.9178, allocations: 70.05 MB / 0.5047 GB, free: 3.723 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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_GeneratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.o] Error 1