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.001808/0.001808, allocations: 105.5 kB / 17.81 MB, free: 5.676 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.001923/0.001923, allocations: 194 kB / 18.72 MB, free: 4.762 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.077/2.077, allocations: 205.1 MB / 224.6 MB, free: 12.4 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.001609/0.001608, allocations: 51.92 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1578, allocations: 46.63 MB / 327.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.02522/0.1831, allocations: 16.56 MB / 343.8 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01783/0.201, allocations: 5.655 MB / 349.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006239/0.2074, allocations: 91.56 kB / 349.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007226/0.2146, allocations: 1.154 MB / 350.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.226, allocations: 1.636 MB / 352.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005079/0.2311, allocations: 0.9709 MB / 353.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01539/0.2465, allocations: 6.927 MB / 360.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01272/0.2593, allocations: 4.421 MB / 364.7 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008824/0.2681, allocations: 2.369 MB / 367 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009893/0.2781, allocations: 3.101 MB / 370.1 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003486/0.2816, allocations: 468 kB / 370.6 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006085/0.2877, allocations: 0.7534 MB / 371.4 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004067/0.2918, allocations: 1.503 MB / 372.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0113/0.3031, allocations: 2.978 MB / 375.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4065/0.7096, allocations: 8.82 MB / 384.7 MB, free: 24.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-05/0.7097, allocations: 0 / 384.7 MB, free: 24.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.429e-06/0.7097, allocations: 3.156 kB / 384.7 MB, free: 24.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006713/0.7104, allocations: 1.406 kB / 384.7 MB, free: 24.07 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.03903/0.7495, allocations: 6.499 MB / 391.2 MB, free: 21.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.994e-05/0.7496, allocations: 9.344 kB / 391.2 MB, free: 21.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.7601, allocations: 1.06 MB / 392.2 MB, free: 21.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/0.7753, allocations: 3.329 MB / 395.6 MB, free: 20.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001124/0.7765, allocations: 365 kB / 395.9 MB, free: 20.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004774/0.7813, allocations: 487.9 kB / 396.4 MB, free: 20.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03893/0.8203, allocations: 6.87 MB / 403.3 MB, free: 18.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005614/0.8209, allocations: 11.89 kB / 403.3 MB, free: 18.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004329/0.8253, allocations: 203.8 kB / 403.5 MB, free: 17.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004528/0.8258, allocations: 237.9 kB / 403.7 MB, free: 17.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/0.8485, allocations: 5.925 MB / 409.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07122/0.9198, allocations: 20.94 MB / 430.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/0.937, allocations: 9.959 MB / 440.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006517/0.9436, allocations: 2.494 MB / 443 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02015/0.9638, allocations: 6.497 MB / 449.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.9639, allocations: 60.22 kB / 449.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=219): time 9.659e-06/0.964, allocations: 0 / 449.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=226): time 0.02773/0.9917, allocations: 9.681 MB / 459.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.9919, allocations: 77.41 kB / 459.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009664/1.002, allocations: 2.996 MB / 462.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005011/1.002, allocations: 65.7 kB / 462.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00295/1.005, allocations: 2.154 MB / 464.5 MB, free: 8.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.006, allocations: 0.7552 MB / 465.3 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/1.008, allocations: 465.1 kB / 465.7 MB, free: 7.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/1.008, allocations: 304.1 kB / 466 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/1.011, allocations: 1.293 MB / 467.3 MB, free: 5.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003603/1.015, allocations: 1.922 MB / 469.3 MB, free: 3.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006634/1.022, allocations: 3.349 MB / 472.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-05/1.022, allocations: 8 kB / 472.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.01089/1.033, allocations: 4.244 MB / 476.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/1.033, allocations: 15.94 kB / 476.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.364e-05/1.033, allocations: 16 kB / 476.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/1.036, allocations: 0.7706 MB / 477.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/1.039, allocations: 0.5673 MB / 478.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/1.056, allocations: 10.04 MB / 488.3 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00482/1.061, allocations: 104 kB / 488.4 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/1.062, allocations: 106.3 kB / 488.5 MB, free: 15.52 MB / 398.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.006312/1.068, allocations: 1.617 MB / 490.1 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/1.07, allocations: 316.2 kB / 490.4 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.081, allocations: 3.904 MB / 494.3 MB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/1.081, allocations: 24 kB / 494.3 MB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-05/1.081, allocations: 12.12 kB / 494.3 MB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/1.081, allocations: 11.95 kB / 494.3 MB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/1.108, allocations: 8.567 MB / 0.4911 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-05/1.108, allocations: 7.984 kB / 0.4911 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/1.11, allocations: 342.2 kB / 0.4915 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003803/1.114, allocations: 0.9378 MB / 0.4924 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003206/1.114, allocations: 59.97 kB / 0.4924 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01946/1.134, allocations: 14.41 MB / 0.5065 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/1.134, allocations: 4.031 kB / 0.5065 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/1.146, allocations: 5.687 MB / 0.5121 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003021/1.149, allocations: 0.6885 MB / 0.5127 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008215/1.15, allocations: 52 kB / 0.5128 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.152, allocations: 111.9 kB / 0.5129 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007448/1.153, allocations: 193.1 kB / 0.5131 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.153, allocations: 63.98 kB / 0.5131 GB, free: 9.676 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00471/1.157, allocations: 2.062 MB / 0.5152 GB, free: 7.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.158, allocations: 0 / 0.5152 GB, free: 7.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005862/1.163, allocations: 0.9413 MB / 0.5161 GB, free: 6.672 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.001188/1.165, allocations: 256.9 kB / 0.5163 GB, free: 6.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00918/1.174, allocations: 3.887 MB / 0.5201 GB, free: 2.543 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/1.174, allocations: 4 kB / 0.5201 GB, free: 2.539 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005549/1.179, allocations: 2.645 MB / 0.5227 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009152/1.189, allocations: 0.8769 MB / 0.5236 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/1.221, allocations: 11.52 MB / 0.5348 GB, free: 3.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003825/1.224, allocations: 3.332 MB / 0.5381 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2764/1.501, allocations: 207.3 kB / 0.5383 GB, free: 158.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.314e-06/1.501, allocations: 0.8438 kB / 0.5383 GB, free: 158.3 MB / 446.1 MB Notification: Performance of Templates: time 0.6001/2.101, allocations: 203.7 MB / 0.7372 GB, free: 132.5 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