Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001378, allocations: 91.53 kB / 16.95 MB, free: 5.66 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.001938/0.001938, allocations: 183.8 kB / 17.85 MB, free: 5.312 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.668/1.668, allocations: 223.2 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 8.938 kB / 301.5 MB, free: 6.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 50.42 MB / 351.9 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.3099/0.4446, allocations: 39.57 MB / 391.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02946/0.4741, allocations: 10.98 MB / 402.5 MB, free: 14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01287/0.487, allocations: 327.1 kB / 402.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01311/0.5001, allocations: 2.224 MB / 405 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02443/0.5246, allocations: 3.989 MB / 409 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.5351, allocations: 1.981 MB / 411 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.04022/0.5754, allocations: 23.1 MB / 434.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08767/0.6631, allocations: 31.97 MB / 466 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01988/0.683, allocations: 7.767 MB / 473.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02069/0.7038, allocations: 8.833 MB / 482.6 MB, free: 2.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007264/0.7111, allocations: 1.215 MB / 483.9 MB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.724, allocations: 1.582 MB / 485.4 MB, free: 196 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01041/0.7344, allocations: 3.87 MB / 489.3 MB, free: 12.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01324/0.7477, allocations: 3.973 MB / 493.3 MB, free: 8.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05338/0.8011, allocations: 34.91 MB / 0.5158 GB, free: 5.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.8012, allocations: 0 / 0.5158 GB, free: 5.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.152e-06/0.8012, allocations: 0 / 0.5158 GB, free: 5.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.002236/0.8035, allocations: 0 / 0.5158 GB, free: 5.312 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.6106/1.414, allocations: 20.07 MB / 0.5354 GB, free: 105.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/1.414, allocations: 11.31 kB / 0.5354 GB, free: 105.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06242/1.477, allocations: 11.35 MB / 0.5465 GB, free: 100.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03813/1.515, allocations: 12.87 MB / 0.5591 GB, free: 87.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001933/1.517, allocations: 1.363 MB / 0.5604 GB, free: 86.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01152/1.528, allocations: 1.799 MB / 0.5622 GB, free: 84.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1067/1.635, allocations: 29.46 MB / 0.5909 GB, free: 54.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001175/1.636, allocations: 28.25 kB / 0.591 GB, free: 54.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01092/1.647, allocations: 0.7449 MB / 0.5917 GB, free: 54.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001073/1.648, allocations: 0.9868 MB / 0.5927 GB, free: 53.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0721/1.721, allocations: 27.19 MB / 0.6192 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8648/2.585, allocations: 94.28 MB / 0.7113 GB, free: 121.3 MB / 494.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04565/2.631, allocations: 51.95 MB / 0.762 GB, free: 80.35 MB / 494.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01371/2.645, allocations: 7.333 MB / 0.7692 GB, free: 80.26 MB / 494.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05574/2.701, allocations: 20.2 MB / 0.7889 GB, free: 76.98 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/2.701, allocations: 114.2 kB / 0.789 GB, free: 76.89 MB / 494.3 MB Notification: Performance of pre-optimization done (n=683): time 1.848e-05/2.701, allocations: 0 / 0.789 GB, free: 76.89 MB / 494.3 MB Notification: Performance of matching and sorting (n=691): time 0.1346/2.836, allocations: 43.05 MB / 0.831 GB, free: 47.07 MB / 494.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/2.836, allocations: 147.1 kB / 0.8312 GB, free: 46.9 MB / 494.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01913/2.855, allocations: 7.05 MB / 0.8381 GB, free: 39.87 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.002037/2.857, allocations: 137.7 kB / 0.8382 GB, free: 39.73 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.006297/2.863, allocations: 7.787 MB / 0.8458 GB, free: 31.89 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.004744/2.868, allocations: 2.344 MB / 0.8481 GB, free: 29.57 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002664/2.871, allocations: 195.9 kB / 0.8483 GB, free: 29.38 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.001449/2.872, allocations: 0.6953 MB / 0.849 GB, free: 28.67 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01145/2.884, allocations: 4.871 MB / 0.8537 GB, free: 23.79 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/2.897, allocations: 8.357 MB / 0.8619 GB, free: 13.84 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/2.909, allocations: 6.582 MB / 0.8683 GB, free: 7.211 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002098/2.91, allocations: 32 kB / 0.8683 GB, free: 7.18 MB / 494.3 MB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.04534/2.955, allocations: 16.09 MB / 0.8841 GB, free: 6.918 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002761/2.955, allocations: 52.81 kB / 0.8841 GB, free: 6.867 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000358/2.956, allocations: 112 kB / 0.8842 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007936/2.964, allocations: 2.574 MB / 0.8867 GB, free: 4.152 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/2.974, allocations: 2.106 MB / 0.8888 GB, free: 2.043 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4426/3.417, allocations: 28.54 MB / 0.9167 GB, free: 158.3 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01027/3.427, allocations: 0.5413 MB / 0.9172 GB, free: 158.1 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003123/3.43, allocations: 455.3 kB / 0.9176 GB, free: 158 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 8 {(1,100.0%) 1,(18,41.7%) 100,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01915/3.449, allocations: 6.76 MB / 0.9242 GB, free: 155 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002914/3.452, allocations: 0.7632 MB / 0.925 GB, free: 155 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02459/3.477, allocations: 13.16 MB / 0.9378 GB, free: 149.5 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01465/3.492, allocations: 8.263 MB / 0.9459 GB, free: 146.2 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000108/3.492, allocations: 29.72 kB / 0.9459 GB, free: 146.2 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001575/3.492, allocations: 38.12 kB / 0.946 GB, free: 146.2 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05852/3.55, allocations: 28.06 MB / 0.9734 GB, free: 133.9 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.473e-05/3.55, allocations: 4 kB / 0.9734 GB, free: 133.9 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004757/3.555, allocations: 1.112 MB / 0.9744 GB, free: 133 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006854/3.562, allocations: 2.627 MB / 0.977 GB, free: 131 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00229/3.564, allocations: 158.1 kB / 0.9772 GB, free: 130.8 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03362/3.598, allocations: 32.95 MB / 1.009 GB, free: 97.05 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/3.598, allocations: 4 kB / 1.009 GB, free: 97.04 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02822/3.626, allocations: 18.86 MB / 1.028 GB, free: 78.31 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005802/3.632, allocations: 1.772 MB / 1.029 GB, free: 76.74 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002898/3.635, allocations: 124 kB / 1.03 GB, free: 76.62 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004959/3.64, allocations: 411.6 kB / 1.03 GB, free: 76.21 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001306/3.641, allocations: 0.5309 MB / 1.031 GB, free: 75.68 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004501/3.642, allocations: 196 kB / 1.031 GB, free: 75.49 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.007822/3.65, allocations: 4.727 MB / 1.035 GB, free: 70.79 MB / 0.5139 GB Notification: Performance of sort global known variables: time 4.41e-07/3.65, allocations: 4 kB / 1.035 GB, free: 70.79 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.01501/3.665, allocations: 3.052 MB / 1.038 GB, free: 67.74 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (563): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(18,41.7%) 100} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00208/3.667, allocations: 362 kB / 1.039 GB, free: 67.39 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.02285/3.69, allocations: 13.39 MB / 1.052 GB, free: 53.84 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/3.69, allocations: 4.062 kB / 1.052 GB, free: 53.84 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.01264/3.702, allocations: 7.579 MB / 1.059 GB, free: 46.1 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01427/3.717, allocations: 2.062 MB / 1.061 GB, free: 44.07 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3796/4.096, allocations: 37.97 MB / 1.098 GB, free: 161.4 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03753/4.134, allocations: 10.99 MB / 1.109 GB, free: 160.3 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00549/4.14, allocations: 0.633 MB / 1.11 GB, free: 160.3 MB / 0.5139 GB Notification: Performance of SimCode: time 1.773e-06/4.14, allocations: 0 / 1.11 GB, free: 160.3 MB / 0.5139 GB Notification: Performance of Templates: time 3.679/7.819, allocations: 1.226 GB / 2.335 GB, free: 112.1 MB / 0.5295 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartCalcHelperMain.o] Error 1