Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 89.45 kB / 16.95 MB, free: 5.66 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.001373/0.001373, allocations: 184 kB / 17.85 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.3 MB / 241.9 MB, free: 14.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002763, allocations: 4 kB / 301.5 MB, free: 6.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1262, allocations: 50.42 MB / 351.9 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.02199/0.1482, allocations: 19.21 MB / 371.1 MB, free: 472 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2868/0.4351, allocations: 5.99 MB / 377.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005619/0.4407, allocations: 129.2 kB / 377.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006187/0.447, allocations: 1.1 MB / 378.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.4573, allocations: 1.705 MB / 380 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004813/0.4622, allocations: 0.8636 MB / 380.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0154/0.4776, allocations: 6.515 MB / 387.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009177/0.4868, allocations: 3.755 MB / 391.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006729/0.4936, allocations: 2.13 MB / 393.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008313/0.5019, allocations: 2.794 MB / 396.1 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001754/0.5037, allocations: 340 kB / 396.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004362/0.5081, allocations: 0.5791 MB / 397 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.5098, allocations: 1.423 MB / 398.4 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003807/0.5136, allocations: 1.199 MB / 399.6 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.5271, allocations: 8.769 MB / 408.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.5272, allocations: 0 / 408.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.5272, allocations: 0 / 408.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004672/0.5277, allocations: 0 / 408.4 MB, free: 12.14 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01873/0.5464, allocations: 5.886 MB / 414.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.5465, allocations: 8.031 kB / 414.3 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00687/0.5534, allocations: 1.067 MB / 415.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009331/0.5627, allocations: 3.509 MB / 418.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005461/0.5633, allocations: 415.6 kB / 419.3 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001837/0.5651, allocations: 0.5251 MB / 419.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/0.5799, allocations: 7.031 MB / 426.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.5801, allocations: 11.98 kB / 426.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004931/0.5806, allocations: 216.5 kB / 427 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002636/0.5809, allocations: 258.6 kB / 427.3 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.593, allocations: 5.944 MB / 433.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04105/0.634, allocations: 22.53 MB / 455.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.647, allocations: 8.284 MB / 464 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006097/0.6531, allocations: 2.207 MB / 466.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01728/0.6705, allocations: 6.203 MB / 472.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.113e-05/0.6706, allocations: 56.56 kB / 472.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=220): time 5.941e-06/0.6706, allocations: 4 kB / 472.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=240): time 0.04015/0.7108, allocations: 11.21 MB / 483.7 MB, free: 15.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/0.7109, allocations: 73.41 kB / 483.8 MB, free: 15.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/0.7219, allocations: 3.117 MB / 486.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006916/0.7227, allocations: 69.7 kB / 487 MB, free: 11.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003545/0.7262, allocations: 2.497 MB / 489.5 MB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001564/0.7278, allocations: 0.8288 MB / 490.3 MB, free: 8.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005306/0.7284, allocations: 72 kB / 490.4 MB, free: 8.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004443/0.7288, allocations: 432.6 kB / 490.8 MB, free: 8.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004092/0.7329, allocations: 1.334 MB / 492.1 MB, free: 6.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00597/0.7389, allocations: 2.339 MB / 494.5 MB, free: 3.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004613/0.7436, allocations: 1.74 MB / 496.2 MB, free: 2.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.751e-05/0.7436, allocations: 12 kB / 496.2 MB, free: 2.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.01266/0.7563, allocations: 4.717 MB / 0.4892 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/0.7564, allocations: 20 kB / 0.4892 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.344e-05/0.7565, allocations: 34.62 kB / 0.4892 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/0.7585, allocations: 0.5254 MB / 0.4898 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/0.7627, allocations: 0.7527 MB / 0.4905 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.7736, allocations: 9.408 MB / 0.4997 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00388/0.7776, allocations: 195.7 kB / 0.4999 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004845/0.7781, allocations: 144 kB / 0.5 GB, free: 1.586 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (380): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 12,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004317/0.7824, allocations: 1.563 MB / 0.5015 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/0.7835, allocations: 343.8 kB / 0.5019 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007739/0.7913, allocations: 4.081 MB / 0.5058 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.7913, allocations: 24 kB / 0.5059 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.7914, allocations: 8 kB / 0.5059 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.7914, allocations: 15.95 kB / 0.5059 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/0.8114, allocations: 8.986 MB / 0.5147 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.8115, allocations: 11.97 kB / 0.5147 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.8133, allocations: 419.4 kB / 0.5151 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.8154, allocations: 0.7286 MB / 0.5158 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/0.8156, allocations: 67.97 kB / 0.5159 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/0.8314, allocations: 15.34 MB / 0.5308 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.8314, allocations: 4.094 kB / 0.5308 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3439/1.175, allocations: 5.861 MB / 0.5366 GB, free: 139.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003834/1.179, allocations: 0.6985 MB / 0.5372 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001644/1.181, allocations: 58.22 kB / 0.5373 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003665/1.185, allocations: 151.7 kB / 0.5374 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008018/1.185, allocations: 186.7 kB / 0.5376 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003037/1.186, allocations: 72.94 kB / 0.5377 GB, free: 138.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007324/1.193, allocations: 2.097 MB / 0.5397 GB, free: 138.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.02e-07/1.193, allocations: 2.219 kB / 0.5397 GB, free: 138.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008146/1.201, allocations: 0.993 MB / 0.5407 GB, free: 138 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],loadInertiaM.phi,loadInertiaE.phi) * 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 (201): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 5,(3,100.0%) 12,(1,100.0%) 3,(1,100.0%) 1,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009243/1.202, allocations: 219.7 kB / 0.5409 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00874/1.211, allocations: 4.145 MB / 0.545 GB, free: 136 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/1.211, allocations: 2.031 kB / 0.545 GB, free: 136 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005024/1.216, allocations: 2.753 MB / 0.5477 GB, free: 134.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006117/1.222, allocations: 0.9232 MB / 0.5486 GB, free: 134.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02089/1.243, allocations: 11.94 MB / 0.5602 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003395/1.247, allocations: 3.323 MB / 0.5635 GB, free: 126.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/1.248, allocations: 267.7 kB / 0.5637 GB, free: 126.1 MB / 446.1 MB Notification: Performance of SimCode: time 3.637e-06/1.248, allocations: 2.906 kB / 0.5637 GB, free: 126.1 MB / 446.1 MB Notification: Performance of Templates: time 0.5333/1.782, allocations: 264.4 MB / 0.8219 GB, free: 44.72 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_InverterCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_InverterCalcHelperMain.o] Error 1