Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001249, allocations: 92.22 kB / 16.96 MB, free: 6.41 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.002302/0.002302, allocations: 183.5 kB / 17.84 MB, free: 5.969 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.504/1.504, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003315, allocations: 8.5 kB / 301.5 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1552, allocations: 50.41 MB / 351.9 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01567/0.1709, allocations: 11.32 MB / 363.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009366/0.1804, allocations: 3.958 MB / 367.2 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.1824, allocations: 71.69 kB / 367.2 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.1853, allocations: 0.7303 MB / 368 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004679/0.19, allocations: 1.057 MB / 369 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.1924, allocations: 0.58 MB / 369.6 MB, free: 1.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2927/0.4851, allocations: 4.02 MB / 373.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004197/0.4894, allocations: 2.213 MB / 375.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.4927, allocations: 1.283 MB / 377.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/0.4963, allocations: 1.636 MB / 378.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000608/0.4969, allocations: 215 kB / 379 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.4985, allocations: 390.2 kB / 379.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.4997, allocations: 0.7689 MB / 380.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.501, allocations: 0.7395 MB / 380.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008414/0.5095, allocations: 5.532 MB / 386.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.5095, allocations: 1.188 kB / 386.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5095, allocations: 0 / 386.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002316/0.5097, allocations: 0 / 386.4 MB, free: 8.25 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01234/0.5221, allocations: 3.767 MB / 390.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.5222, allocations: 8.281 kB / 390.2 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/0.527, allocations: 0.8186 MB / 391 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005001/0.532, allocations: 2.304 MB / 393.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.5323, allocations: 233.9 kB / 393.5 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006219/0.5329, allocations: 319.5 kB / 393.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00854/0.5415, allocations: 4.244 MB / 398.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.054e-05/0.5415, allocations: 0 / 398.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/0.5419, allocations: 135.1 kB / 398.2 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.542, allocations: 141.6 kB / 398.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006459/0.5485, allocations: 3.658 MB / 402 MB, free: 1.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02729/0.5758, allocations: 13.55 MB / 415.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009353/0.5852, allocations: 6.865 MB / 422.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/0.5885, allocations: 1.421 MB / 423.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007595/0.5961, allocations: 3.66 MB / 427.5 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.054e-05/0.5962, allocations: 47.56 kB / 427.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=124): time 3.376e-06/0.5962, allocations: 0 / 427.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=144): time 0.0157/0.6119, allocations: 6.744 MB / 434.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.612, allocations: 68.72 kB / 434.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/0.6155, allocations: 1.839 MB / 436.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.6157, allocations: 53.7 kB / 436.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.6169, allocations: 1.415 MB / 437.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004953/0.6174, allocations: 0.4957 MB / 438.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.6175, allocations: 36 kB / 438.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.6178, allocations: 369.9 kB / 438.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.6191, allocations: 0.7613 MB / 439.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.6207, allocations: 1.224 MB / 440.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.6222, allocations: 0.9785 MB / 441.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.6223, allocations: 4 kB / 441.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004936/0.6272, allocations: 2.674 MB / 444.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.6273, allocations: 12.77 kB / 444.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.6273, allocations: 12 kB / 444.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.6287, allocations: 0.4901 MB / 444.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.6302, allocations: 387.4 kB / 445.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0086/0.6388, allocations: 6.39 MB / 451.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.641, allocations: 79.95 kB / 451.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.6412, allocations: 72.12 kB / 451.6 MB, free: 13.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,61.2%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002871/0.6441, allocations: 1.055 MB / 452.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006813/0.6448, allocations: 201.5 kB / 452.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/0.6497, allocations: 2.492 MB / 455.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.6498, allocations: 19.95 kB / 455.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.6498, allocations: 4 kB / 455.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.6498, allocations: 11.95 kB / 455.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.6603, allocations: 5.54 MB / 460.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.6604, allocations: 0 / 460.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.6614, allocations: 231.8 kB / 461.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/0.6628, allocations: 0.495 MB / 461.7 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.911e-05/0.6629, allocations: 39.98 kB / 461.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.6741, allocations: 10.46 MB / 472.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6741, allocations: 240 / 472.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006141/0.6803, allocations: 3.58 MB / 475.7 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.6818, allocations: 458.6 kB / 476.2 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.6821, allocations: 35.98 kB / 476.2 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008902/0.683, allocations: 71.95 kB / 476.3 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.6833, allocations: 121 kB / 476.4 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.666e-05/0.6834, allocations: 36 kB / 476.4 MB, free: 3.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002452/0.6859, allocations: 1.274 MB / 477.7 MB, free: 2.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6859, allocations: 0 / 477.7 MB, free: 2.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0028/0.6887, allocations: 0.5781 MB / 478.3 MB, free: 2.117 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.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 (102): * Single equations (assignments): 97 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004447/0.6892, allocations: 170.3 kB / 478.5 MB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004592/0.6938, allocations: 2.396 MB / 480.9 MB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6938, allocations: 4.125 kB / 480.9 MB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002964/0.6968, allocations: 1.726 MB / 482.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/0.7006, allocations: 0.5009 MB / 483.1 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.7133, allocations: 7.092 MB / 490.2 MB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.7158, allocations: 2.316 MB / 492.5 MB, free: 3.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007977/0.7166, allocations: 139.4 kB / 492.6 MB, free: 3.605 MB / 398.1 MB Notification: Performance of SimCode: time 1.693e-06/0.7166, allocations: 0 / 492.6 MB, free: 3.605 MB / 398.1 MB Notification: Performance of Templates: time 0.3567/1.073, allocations: 96.99 MB / 0.5758 GB, free: 122.6 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.InductionMachines.IMC_InitializeCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.o] Error 1