Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008856/0.0008858, allocations: 92.2 kB / 17.63 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 194.5 kB / 18.53 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 8 kB / 307.3 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1376, allocations: 51.5 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.3461/0.4837, allocations: 15.19 MB / 374 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.4989, allocations: 5.255 MB / 379.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004578/0.5035, allocations: 96.97 kB / 379.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005105/0.5087, allocations: 0.9594 MB / 380.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008028/0.5168, allocations: 1.312 MB / 381.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003689/0.5205, allocations: 0.7357 MB / 382.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01192/0.5324, allocations: 5.044 MB / 387.4 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006616/0.5391, allocations: 2.742 MB / 390.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005654/0.5447, allocations: 1.582 MB / 391.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006911/0.5517, allocations: 2.041 MB / 393.8 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002015/0.5537, allocations: 255 kB / 394 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/0.5582, allocations: 486.4 kB / 394.5 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.5598, allocations: 0.9712 MB / 395.5 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003413/0.5633, allocations: 0.9095 MB / 396.4 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.5738, allocations: 6.62 MB / 403 MB, free: 14.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.5739, allocations: 0 / 403 MB, free: 14.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.5739, allocations: 0 / 403 MB, free: 14.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003977/0.5743, allocations: 0 / 403 MB, free: 14.95 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01706/0.5914, allocations: 4.633 MB / 407.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/0.5914, allocations: 14.53 kB / 407.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006721/0.5982, allocations: 1.03 MB / 408.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007245/0.6054, allocations: 2.76 MB / 411.4 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.6058, allocations: 306.4 kB / 411.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.607, allocations: 399.9 kB / 412.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.6185, allocations: 5.206 MB / 417.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.614e-05/0.6187, allocations: 11.84 kB / 417.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003861/0.6191, allocations: 162.4 kB / 417.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/0.6193, allocations: 172 kB / 417.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009202/0.6285, allocations: 4.471 MB / 422.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03792/0.6664, allocations: 17 MB / 439.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009435/0.6759, allocations: 8.704 MB / 447.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004114/0.6801, allocations: 2.023 MB / 449.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/0.6919, allocations: 5.835 MB / 455.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.309e-05/0.692, allocations: 51.88 kB / 455.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 3.637e-06/0.692, allocations: 0 / 455.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=160): time 0.01514/0.7071, allocations: 6.399 MB / 462.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.7072, allocations: 72.66 kB / 462.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005632/0.7129, allocations: 2.307 MB / 464.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.7131, allocations: 61.7 kB / 464.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001971/0.7151, allocations: 1.86 MB / 466.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006612/0.7158, allocations: 0.5521 MB / 467 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.7159, allocations: 40 kB / 467 MB, free: 14.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.7162, allocations: 394.2 kB / 467.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.7179, allocations: 0.8631 MB / 468.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.7203, allocations: 1.586 MB / 469.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.7224, allocations: 1.138 MB / 471 MB, free: 9.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.7225, allocations: 8 kB / 471 MB, free: 9.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.006049/0.7285, allocations: 2.99 MB / 474 MB, free: 6.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.7286, allocations: 19.94 kB / 474 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.176e-05/0.7287, allocations: 24 kB / 474 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/0.7292, allocations: 177.8 kB / 474.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/0.7312, allocations: 0.5382 MB / 474.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.734, allocations: 2.268 MB / 477 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/0.7366, allocations: 123.9 kB / 477.1 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/0.7368, allocations: 95.98 kB / 477.2 MB, free: 3.398 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00318/0.74, allocations: 1.196 MB / 478.4 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009227/0.7409, allocations: 245 kB / 478.7 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005224/0.7462, allocations: 2.566 MB / 481.2 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.7462, allocations: 16.19 kB / 481.3 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.607e-05/0.7462, allocations: 4 kB / 481.3 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.7463, allocations: 15.86 kB / 481.3 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.7593, allocations: 5.955 MB / 487.2 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.7593, allocations: 3.953 kB / 487.2 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.7605, allocations: 295.8 kB / 487.5 MB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009564/0.7615, allocations: 370.2 kB / 487.9 MB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.7616, allocations: 39.98 kB / 487.9 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007481/0.7691, allocations: 6.82 MB / 494.7 MB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7692, allocations: 0 / 494.7 MB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006712/0.7759, allocations: 3.703 MB / 498.4 MB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/0.7778, allocations: 0.5019 MB / 498.9 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.7781, allocations: 30.08 kB / 499 MB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.7792, allocations: 99.92 kB / 499.1 MB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003104/0.7795, allocations: 117.1 kB / 499.2 MB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.7797, allocations: 47.98 kB / 499.2 MB, free: 12.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002844/0.7825, allocations: 1.565 MB / 0.4891 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7825, allocations: 0 / 0.4891 GB, free: 11.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003056/0.7856, allocations: 0.6874 MB / 0.4897 GB, free: 10.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.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 (129): * Single equations (assignments): 126 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004604/0.786, allocations: 189.7 kB / 0.4899 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004171/0.7902, allocations: 2.336 MB / 0.4922 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.7902, allocations: 0 / 0.4922 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002421/0.7927, allocations: 1.49 MB / 0.4937 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/0.7958, allocations: 0.588 MB / 0.4942 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/0.8119, allocations: 8.374 MB / 0.5024 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/0.8153, allocations: 2.607 MB / 0.505 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.8166, allocations: 183.4 kB / 0.5051 GB, free: 10.56 MB / 430.1 MB Notification: Performance of SimCode: time 3.817e-06/0.8166, allocations: 0 / 0.5051 GB, free: 10.56 MB / 430.1 MB Notification: Performance of Templates: time 0.4066/1.223, allocations: 95.34 MB / 0.5982 GB, free: 89.55 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOLCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOLCalcHelperMain.o] Error 1