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.0008684/0.0008684, allocations: 98.83 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.0008903/0.0008903, allocations: 178.8 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.285/2.285, 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.0006308/0.0006309, allocations: 16.42 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1787, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.02702/0.2058, allocations: 15.81 MB / 345.4 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01972/0.2257, allocations: 5.593 MB / 351 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007/0.2328, allocations: 87.56 kB / 351.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007462/0.2403, allocations: 1.162 MB / 352.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.2531, allocations: 1.628 MB / 353.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005986/0.2591, allocations: 0.9554 MB / 354.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01376/0.2729, allocations: 6.923 MB / 361.8 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01191/0.2849, allocations: 4.386 MB / 366.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008604/0.2936, allocations: 2.079 MB / 368.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00811/0.3017, allocations: 2.738 MB / 371 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00341/0.3052, allocations: 332 kB / 371.3 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005941/0.3112, allocations: 0.6207 MB / 371.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004576/0.3158, allocations: 1.308 MB / 373.2 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01049/0.3263, allocations: 2.765 MB / 376 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.315/0.6413, allocations: 8.579 MB / 384.6 MB, free: 22.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.6414, allocations: 3.25 kB / 384.6 MB, free: 22.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.6415, allocations: 0.5625 kB / 384.6 MB, free: 22.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004371/0.6419, allocations: 0 / 384.6 MB, free: 22.23 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.02173/0.6637, allocations: 5.475 MB / 390.1 MB, free: 20.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.6637, allocations: 9.094 kB / 390.1 MB, free: 20.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008345/0.6721, allocations: 1.064 MB / 391.1 MB, free: 19.85 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.6836, allocations: 3.333 MB / 394.5 MB, free: 19.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005728/0.6843, allocations: 363.1 kB / 394.8 MB, free: 19.13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003235/0.6875, allocations: 492.2 kB / 395.3 MB, free: 19.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02204/0.7096, allocations: 6.878 MB / 402.2 MB, free: 18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/0.7098, allocations: 11.45 kB / 402.2 MB, free: 17.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006368/0.7104, allocations: 202.3 kB / 402.4 MB, free: 17.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002599/0.7107, allocations: 239.3 kB / 402.6 MB, free: 17.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.7263, allocations: 5.952 MB / 408.6 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05401/0.7804, allocations: 21.06 MB / 429.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/0.7951, allocations: 9.967 MB / 439.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00617/0.8013, allocations: 2.5 MB / 442.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01912/0.8205, allocations: 6.523 MB / 448.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.8206, allocations: 58.53 kB / 448.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=219): time 8.296e-06/0.8206, allocations: 0 / 448.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=226): time 0.02691/0.8476, allocations: 9.774 MB / 458.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.8477, allocations: 77.41 kB / 458.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008321/0.8561, allocations: 2.992 MB / 461.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007434/0.8569, allocations: 69.7 kB / 461.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002212/0.8591, allocations: 2.155 MB / 463.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/0.8605, allocations: 0.7508 MB / 464.5 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006124/0.8611, allocations: 218.9 kB / 464.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8613, allocations: 305.1 kB / 465 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/0.8644, allocations: 1.305 MB / 466.3 MB, free: 6.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/0.8681, allocations: 1.933 MB / 468.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005449/0.8736, allocations: 3.371 MB / 471.6 MB, free: 424 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.8736, allocations: 6.297 kB / 471.6 MB, free: 420 kB / 366.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.01162/0.8852, allocations: 4.273 MB / 475.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-05/0.8854, allocations: 19.92 kB / 475.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.13e-05/0.8855, allocations: 16 kB / 475.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004707/0.8902, allocations: 0.7789 MB / 476.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/0.8962, allocations: 0.5708 MB / 477.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0232/0.9195, allocations: 10.04 MB / 487.3 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006134/0.9257, allocations: 111.9 kB / 487.4 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009541/0.9267, allocations: 111.9 kB / 487.5 MB, free: 120 kB / 382.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 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007438/0.9342, allocations: 1.606 MB / 489.1 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001707/0.9359, allocations: 317.5 kB / 489.5 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.9469, allocations: 3.936 MB / 493.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-05/0.947, allocations: 24 kB / 493.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.633e-05/0.9471, allocations: 11.94 kB / 493.4 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.514e-05/0.9471, allocations: 11.95 kB / 493.4 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02606/0.9732, allocations: 8.592 MB / 0.4903 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/0.9733, allocations: 4 kB / 0.4903 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/0.9751, allocations: 350.5 kB / 0.4906 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003851/0.979, allocations: 0.9298 MB / 0.4915 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003367/0.9793, allocations: 55.98 kB / 0.4916 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02158/1.001, allocations: 14.45 MB / 0.5057 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.001, allocations: 4.031 kB / 0.5057 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.014, allocations: 5.722 MB / 0.5113 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003202/1.017, allocations: 0.6963 MB / 0.5119 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009568/1.018, allocations: 52 kB / 0.512 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/1.02, allocations: 119.9 kB / 0.5121 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006862/1.02, allocations: 192 kB / 0.5123 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/1.021, allocations: 67.98 kB / 0.5124 GB, free: 10.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004521/1.025, allocations: 2.062 MB / 0.5144 GB, free: 8.094 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.025, allocations: 0 / 0.5144 GB, free: 8.094 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005695/1.031, allocations: 0.9413 MB / 0.5153 GB, free: 7.152 MB / 430.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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (2,26,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001344/1.032, allocations: 247.9 kB / 0.5155 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009469/1.042, allocations: 3.92 MB / 0.5194 GB, free: 2.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/1.042, allocations: 4.062 kB / 0.5194 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005665/1.047, allocations: 2.665 MB / 0.522 GB, free: 296 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009129/1.057, allocations: 0.8578 MB / 0.5228 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03222/1.089, allocations: 11.7 MB / 0.5342 GB, free: 3.676 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004487/1.094, allocations: 3.328 MB / 0.5375 GB, free: 320 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/1.095, allocations: 215.4 kB / 0.5377 GB, free: 104 kB / 446.1 MB Notification: Performance of SimCode: time 1.283e-06/1.095, allocations: 0 / 0.5377 GB, free: 104 kB / 446.1 MB Notification: Performance of Templates: time 0.9161/2.011, allocations: 203 MB / 0.7359 GB, free: 132.8 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++ -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.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