Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 98.7 kB / 17.96 MB, free: 5.766 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.001389/0.001388, allocations: 178.3 kB / 18.86 MB, free: 4.902 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.97/1.97, allocations: 205.4 MB / 225 MB, free: 13.07 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.0004734/0.0004734, allocations: 8.328 kB / 282.1 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 47.59 MB / 329.6 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03249/0.1554, allocations: 28.56 MB / 358.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02371/0.1792, allocations: 8.488 MB / 366.7 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009386/0.1886, allocations: 155.5 kB / 366.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007584/0.1962, allocations: 1.555 MB / 368.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01415/0.2104, allocations: 2.671 MB / 371.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006456/0.2169, allocations: 1.396 MB / 372.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2754/0.4923, allocations: 8.974 MB / 381.4 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02661/0.519, allocations: 12.02 MB / 393.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00765/0.5267, allocations: 3.055 MB / 396.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01349/0.5402, allocations: 3.8 MB / 400.3 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003934/0.5442, allocations: 476.8 kB / 400.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006946/0.5512, allocations: 0.8305 MB / 401.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004776/0.556, allocations: 1.586 MB / 403.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.012/0.5681, allocations: 3.791 MB / 407 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01946/0.5876, allocations: 13.13 MB / 420.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.5877, allocations: 0 / 420.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.481e-06/0.5877, allocations: 3.031 kB / 420.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000678/0.5884, allocations: 0 / 420.1 MB, free: 15.89 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03095/0.6194, allocations: 8.182 MB / 428.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.6194, allocations: 8.031 kB / 428.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03092/0.6504, allocations: 5.281 MB / 433.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/0.6629, allocations: 4.654 MB / 438.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007388/0.6637, allocations: 0.5365 MB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004016/0.6677, allocations: 0.7085 MB / 439.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04219/0.7099, allocations: 11.31 MB / 450.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005364/0.7105, allocations: 27.64 kB / 450.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003192/0.7138, allocations: 302.2 kB / 451.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006094/0.7144, allocations: 443 kB / 451.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02961/0.744, allocations: 10.8 MB / 462.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0911/0.8352, allocations: 38.12 MB / 0.4888 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0298/0.865, allocations: 28.1 MB / 0.5162 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005929/0.871, allocations: 2.647 MB / 0.5188 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02044/0.8915, allocations: 7.936 MB / 0.5265 GB, free: 6.031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.8917, allocations: 60.56 kB / 0.5266 GB, free: 5.961 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 5.911e-06/0.8917, allocations: 0 / 0.5266 GB, free: 5.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.3321/1.224, allocations: 10.38 MB / 0.5367 GB, free: 152.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002255/1.226, allocations: 1.906 MB / 0.5386 GB, free: 150.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009577/1.236, allocations: 3.821 MB / 0.5423 GB, free: 149.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006384/1.236, allocations: 66.17 kB / 0.5424 GB, free: 149.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003468/1.24, allocations: 3.547 MB / 0.5458 GB, free: 146.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001366/1.241, allocations: 0.8329 MB / 0.5467 GB, free: 145.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006889/1.242, allocations: 389.5 kB / 0.547 GB, free: 145.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.25e-05/1.242, allocations: 306.2 kB / 0.5473 GB, free: 145.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003454/1.245, allocations: 1.894 MB / 0.5492 GB, free: 144.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00546/1.251, allocations: 4.391 MB / 0.5535 GB, free: 140.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008181/1.259, allocations: 6.789 MB / 0.5601 GB, free: 135.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001364/1.259, allocations: 23.66 kB / 0.5601 GB, free: 135.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01404/1.273, allocations: 6.986 MB / 0.5669 GB, free: 132.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/1.274, allocations: 42.59 kB / 0.567 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/1.274, allocations: 87.31 kB / 0.5671 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/1.276, allocations: 0.7384 MB / 0.5678 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/1.279, allocations: 1.12 MB / 0.5689 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006762/1.286, allocations: 5.242 MB / 0.574 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006024/1.292, allocations: 310.7 kB / 0.5743 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008751/1.293, allocations: 275.5 kB / 0.5745 GB, free: 128.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * 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 {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006862/1.3, allocations: 2.522 MB / 0.577 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/1.301, allocations: 386 kB / 0.5774 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007564/1.309, allocations: 4.279 MB / 0.5816 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/1.309, allocations: 23.55 kB / 0.5816 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-05/1.309, allocations: 7.438 kB / 0.5816 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/1.309, allocations: 15.39 kB / 0.5816 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02899/1.338, allocations: 14.28 MB / 0.5955 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.338, allocations: 12 kB / 0.5956 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/1.34, allocations: 479.3 kB / 0.596 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/1.342, allocations: 0.6963 MB / 0.5967 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/1.342, allocations: 71.92 kB / 0.5968 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007392/1.349, allocations: 6.948 MB / 0.6035 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001372/1.351, allocations: 1.862 MB / 0.6054 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009088/1.36, allocations: 6.735 MB / 0.6119 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/1.363, allocations: 0.8006 MB / 0.6127 GB, free: 94.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007952/1.363, allocations: 66.33 kB / 0.6128 GB, free: 94.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.365, allocations: 167.8 kB / 0.6129 GB, free: 94.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004703/1.366, allocations: 217.5 kB / 0.6132 GB, free: 93.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/1.366, allocations: 92.8 kB / 0.6132 GB, free: 93.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003886/1.37, allocations: 2.513 MB / 0.6157 GB, free: 91.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.37, allocations: 0 / 0.6157 GB, free: 91.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005689/1.375, allocations: 1.282 MB / 0.617 GB, free: 90.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (241): * Single equations (assignments): 238 * 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 {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004691/1.376, allocations: 225.4 kB / 0.6172 GB, free: 89.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007657/1.384, allocations: 5.148 MB / 0.6222 GB, free: 84.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.384, allocations: 0 / 0.6222 GB, free: 84.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003252/1.387, allocations: 2.411 MB / 0.6245 GB, free: 82.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01184/1.399, allocations: 0.9374 MB / 0.6255 GB, free: 81.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03169/1.43, allocations: 15.38 MB / 0.6405 GB, free: 65.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004198/1.435, allocations: 4.378 MB / 0.6448 GB, free: 61.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/1.436, allocations: 331.4 kB / 0.6451 GB, free: 60.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.144e-06/1.436, allocations: 0 / 0.6451 GB, free: 60.91 MB / 446.1 MB Notification: Performance of Templates: time 0.5183/1.955, allocations: 199.6 MB / 0.84 GB, free: 4.641 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuitCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuitCalcHelperMain.o] Error 1