Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008713, allocations: 94.78 kB / 17.58 MB, free: 6.168 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.0008362/0.0008362, allocations: 183.5 kB / 18.47 MB, free: 5.336 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.713/1.713, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.000474/0.000474, allocations: 12 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.119, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.0152/0.1342, allocations: 14.77 MB / 343.8 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.1481, allocations: 5.345 MB / 349.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004083/0.1522, allocations: 87.62 kB / 349.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004275/0.1565, allocations: 1.014 MB / 350.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.1626, allocations: 1.484 MB / 351.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.1654, allocations: 0.7055 MB / 352.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.1758, allocations: 6.409 MB / 358.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007541/0.1833, allocations: 3.466 MB / 362.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004265/0.1876, allocations: 2.035 MB / 364.3 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004984/0.1927, allocations: 2.626 MB / 366.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009611/0.1936, allocations: 332 kB / 367.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.1959, allocations: 0.5505 MB / 367.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.1972, allocations: 1.3 MB / 369.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.1992, allocations: 1.14 MB / 370.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.2095, allocations: 8.582 MB / 378.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.2096, allocations: 0 / 378.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.2096, allocations: 4 kB / 378.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000397/0.21, allocations: 0 / 378.8 MB, free: 2.012 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.2576/0.4677, allocations: 5.527 MB / 384.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4677, allocations: 9.562 kB / 384.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007442/0.4752, allocations: 1.06 MB / 385.4 MB, free: 45.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008655/0.4838, allocations: 3.249 MB / 388.7 MB, free: 43.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005792/0.4845, allocations: 361.8 kB / 389 MB, free: 43.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001867/0.4863, allocations: 486.3 kB / 389.5 MB, free: 43.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/0.501, allocations: 6.841 MB / 396.4 MB, free: 39.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.5011, allocations: 12.84 kB / 396.4 MB, free: 39.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004929/0.5016, allocations: 198.5 kB / 396.6 MB, free: 39.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003266/0.5019, allocations: 241.6 kB / 396.8 MB, free: 39.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/0.5121, allocations: 5.911 MB / 402.7 MB, free: 36.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03187/0.544, allocations: 21.04 MB / 423.8 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006959/0.551, allocations: 9.953 MB / 433.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003234/0.5543, allocations: 2.501 MB / 436.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/0.5657, allocations: 6.53 MB / 442.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.5658, allocations: 56.56 kB / 442.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=219): time 4.659e-06/0.5658, allocations: 0 / 442.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=226): time 0.01903/0.5848, allocations: 9.792 MB / 452.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.585, allocations: 73.41 kB / 452.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005219/0.5902, allocations: 2.972 MB / 455.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006571/0.5909, allocations: 65.7 kB / 455.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002127/0.593, allocations: 2.158 MB / 457.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001333/0.5944, allocations: 0.7563 MB / 458.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.5945, allocations: 48 kB / 458.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.5947, allocations: 412.2 kB / 459.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.5969, allocations: 1.297 MB / 460.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/0.5994, allocations: 1.924 MB / 462.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.6018, allocations: 1.599 MB / 463.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.6018, allocations: 4 kB / 463.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.00751/0.6094, allocations: 4.249 MB / 468.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.6094, allocations: 15.94 kB / 468.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.302e-05/0.6095, allocations: 27.98 kB / 468.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/0.612, allocations: 0.7811 MB / 469 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/0.6143, allocations: 0.5694 MB / 469.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.6249, allocations: 10.03 MB / 479.6 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/0.6283, allocations: 115.9 kB / 479.7 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004214/0.6287, allocations: 104 kB / 479.8 MB, free: 4.676 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * 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: 4 * 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: 4 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003733/0.6325, allocations: 1.61 MB / 481.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009623/0.6334, allocations: 320.2 kB / 481.7 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0067/0.6401, allocations: 3.915 MB / 485.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.6402, allocations: 20 kB / 485.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.6402, allocations: 12 kB / 485.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.6402, allocations: 11.95 kB / 485.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.6554, allocations: 8.578 MB / 494.2 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.6555, allocations: 0 / 494.2 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.6569, allocations: 351.7 kB / 494.6 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002991/0.6599, allocations: 0.9335 MB / 495.5 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/0.6602, allocations: 59.98 kB / 495.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/0.6755, allocations: 14.41 MB / 0.498 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.6755, allocations: 8.125 kB / 0.498 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009107/0.6846, allocations: 5.702 MB / 0.5036 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/0.6867, allocations: 0.6885 MB / 0.5043 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005018/0.6872, allocations: 52 kB / 0.5043 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.6885, allocations: 127.9 kB / 0.5044 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004661/0.689, allocations: 189.7 kB / 0.5046 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.6891, allocations: 59.98 kB / 0.5047 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003269/0.6924, allocations: 2.042 MB / 0.5067 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6924, allocations: 3.938 kB / 0.5067 GB, free: 12.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003724/0.6961, allocations: 0.9439 MB / 0.5076 GB, free: 11.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006931/0.6968, allocations: 214.7 kB / 0.5078 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00614/0.703, allocations: 3.91 MB / 0.5116 GB, free: 7.391 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.703, allocations: 4 kB / 0.5116 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003928/0.707, allocations: 2.651 MB / 0.5142 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004529/0.7115, allocations: 0.8723 MB / 0.5151 GB, free: 3.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01947/0.731, allocations: 11.17 MB / 0.526 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003322/0.7344, allocations: 3.32 MB / 0.5292 GB, free: 5.199 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.7356, allocations: 219.4 kB / 0.5294 GB, free: 4.984 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.7356, allocations: 0 / 0.5294 GB, free: 4.984 MB / 430.1 MB Notification: Performance of Templates: time 0.6837/1.419, allocations: 203.1 MB / 0.7277 GB, free: 137.7 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_TransformerCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_TransformerCalcHelperMain.o] Error 1