Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 108.2 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.002061/0.002061, 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 1.992/1.992, 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.001458/0.001458, allocations: 55.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1691, allocations: 46.61 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01508/0.1842, allocations: 11.51 MB / 338.8 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.1949, allocations: 3.907 MB / 342.7 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003903/0.1989, allocations: 59.69 kB / 342.7 MB, free: 5.355 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003613/0.2026, allocations: 0.7535 MB / 343.5 MB, free: 4.598 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006002/0.2086, allocations: 0.8549 MB / 344.3 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.2108, allocations: 467.5 kB / 344.8 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00645/0.2172, allocations: 3.605 MB / 348.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005712/0.223, allocations: 2.525 MB / 350.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/0.227, allocations: 1.342 MB / 352.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004447/0.2315, allocations: 1.884 MB / 354.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001675/0.2331, allocations: 259.9 kB / 354.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.236, allocations: 383.8 kB / 354.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002222/0.2382, allocations: 1.048 MB / 355.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003344/0.2416, allocations: 1.706 MB / 357.5 MB, free: 6.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005312/0.2469, allocations: 4.54 MB / 362.1 MB, free: 1.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.2469, allocations: 4 kB / 362.1 MB, free: 1.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2469, allocations: 0 / 362.1 MB, free: 1.895 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000189/0.2471, allocations: 0 / 362.1 MB, free: 1.895 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: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.01038/0.2575, allocations: 3.813 MB / 365.9 MB, free: 14.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.084e-05/0.2576, allocations: 8.031 kB / 365.9 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.2588, allocations: 388.6 kB / 366.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003515/0.2623, allocations: 1.935 MB / 368.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.2626, allocations: 226 kB / 368.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/0.263, allocations: 283.9 kB / 368.7 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006694/0.2697, allocations: 3.693 MB / 372.4 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.7e-05/0.2698, allocations: 11.88 kB / 372.4 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.2701, allocations: 120 kB / 372.5 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/0.2703, allocations: 149.5 kB / 372.7 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005631/0.2759, allocations: 3.098 MB / 375.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3551/0.631, allocations: 11.64 MB / 387.4 MB, free: 45.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/0.6346, allocations: 1.901 MB / 389.3 MB, free: 44.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/0.6372, allocations: 1.083 MB / 390.4 MB, free: 44.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/0.6376, allocations: 209.9 kB / 390.6 MB, free: 43.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/0.6377, allocations: 52.47 kB / 390.6 MB, free: 43.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 8.065e-06/0.6377, allocations: 1.406 kB / 390.6 MB, free: 43.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.01653/0.6542, allocations: 6.525 MB / 397.2 MB, free: 40.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.6544, allocations: 66.81 kB / 397.2 MB, free: 40.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003975/0.6584, allocations: 1.99 MB / 399.2 MB, free: 39.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.6585, allocations: 53.61 kB / 399.3 MB, free: 39.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.6596, allocations: 1.402 MB / 400.7 MB, free: 38.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/0.6601, allocations: 495.4 kB / 401.2 MB, free: 37.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005969/0.6607, allocations: 325.1 kB / 401.5 MB, free: 37.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6608, allocations: 301.1 kB / 401.8 MB, free: 37.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.6624, allocations: 0.8206 MB / 402.6 MB, free: 37.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.6639, allocations: 1.378 MB / 404 MB, free: 35.9 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/0.6668, allocations: 2.373 MB / 406.3 MB, free: 34.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.6669, allocations: 3.75 kB / 406.4 MB, free: 34.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.004887/0.6717, allocations: 2.852 MB / 409.2 MB, free: 32.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.6718, allocations: 12 kB / 409.2 MB, free: 32.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/0.6718, allocations: 23.98 kB / 409.2 MB, free: 32.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009233/0.6728, allocations: 391.4 kB / 409.6 MB, free: 31.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.6742, allocations: 435.3 kB / 410 MB, free: 31.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005415/0.6796, allocations: 6.132 MB / 416.2 MB, free: 24.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.6819, allocations: 131.8 kB / 416.3 MB, free: 24.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.682, allocations: 79.98 kB / 416.4 MB, free: 24.59 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (210): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,9,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001993/0.684, allocations: 0.9153 MB / 417.3 MB, free: 23.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005892/0.6846, allocations: 205.5 kB / 417.5 MB, free: 23.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.6881, allocations: 2.425 MB / 419.9 MB, free: 20.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.6881, allocations: 12 kB / 419.9 MB, free: 20.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.6881, allocations: 4 kB / 419.9 MB, free: 20.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.6881, allocations: 15.36 kB / 420 MB, free: 20.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008669/0.6968, allocations: 5.524 MB / 425.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.6969, allocations: 4 kB / 425.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.6979, allocations: 259.6 kB / 425.7 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.699, allocations: 403 kB / 426.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.6991, allocations: 43.98 kB / 426.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006937/0.706, allocations: 7.583 MB / 433.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.7061, allocations: 7.938 kB / 433.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007081/0.7132, allocations: 3.607 MB / 437.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/0.7152, allocations: 462.4 kB / 437.8 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009392/0.7162, allocations: 35.94 kB / 437.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/0.718, allocations: 95.89 kB / 438 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/0.7184, allocations: 101 kB / 438 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.7185, allocations: 47.98 kB / 438.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003771/0.7223, allocations: 1.357 MB / 439.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7223, allocations: 0 / 439.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.004327/0.7267, allocations: 0.5415 MB / 440 MB, free: 132 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.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 (129): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,9,100.0%), (1,1,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.0008036/0.7275, allocations: 199.2 kB / 440.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00559/0.7331, allocations: 2.486 MB / 442.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/0.7332, allocations: 8.062 kB / 442.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002891/0.7361, allocations: 1.479 MB / 444.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005172/0.7413, allocations: 0.5092 MB / 444.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/0.7594, allocations: 7.045 MB / 451.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/0.7621, allocations: 2.162 MB / 453.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.7633, allocations: 163.4 kB / 454 MB, free: 1.867 MB / 334.1 MB Notification: Performance of SimCode: time 9.91e-07/0.7633, allocations: 0 / 454 MB, free: 1.867 MB / 334.1 MB Notification: Performance of Templates: time 0.4767/1.24, allocations: 91.58 MB / 0.5328 GB, free: 134.8 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_VoltageSourceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSourceCalcHelperMain.o] Error 1