Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008779/0.0008781, allocations: 88.77 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009437/0.0009437, allocations: 203.2 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.633/1.633, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002461/0.0002461, allocations: 8 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1175, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.3072/0.4248, allocations: 15.37 MB / 374.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.4402, allocations: 5.515 MB / 379.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00403/0.4443, allocations: 104.3 kB / 379.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004496/0.4488, allocations: 1.028 MB / 380.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007592/0.4564, allocations: 1.472 MB / 382.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.4595, allocations: 0.7324 MB / 383 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01279/0.4723, allocations: 6.467 MB / 389.5 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006905/0.4793, allocations: 3.555 MB / 393.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005657/0.485, allocations: 2.038 MB / 395.1 MB, free: 4.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006687/0.4917, allocations: 2.626 MB / 397.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001725/0.4935, allocations: 328.4 kB / 398 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004255/0.4977, allocations: 0.5765 MB / 398.6 MB, free: 2.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.4993, allocations: 1.293 MB / 399.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003195/0.5025, allocations: 1.142 MB / 401 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.514, allocations: 8.627 MB / 409.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.514, allocations: 0 / 409.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.5141, allocations: 0 / 409.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003512/0.5144, allocations: 0 / 409.7 MB, free: 9.609 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.0167/0.5311, allocations: 5.569 MB / 415.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.5312, allocations: 8.031 kB / 415.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006749/0.538, allocations: 1.1 MB / 416.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009353/0.5473, allocations: 3.426 MB / 419.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005291/0.5479, allocations: 368.8 kB / 420.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/0.5502, allocations: 486.5 kB / 420.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/0.57, allocations: 6.839 MB / 427.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.5702, allocations: 15.98 kB / 427.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005296/0.5707, allocations: 194.5 kB / 427.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002439/0.571, allocations: 241.8 kB / 427.9 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.5849, allocations: 5.927 MB / 433.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04224/0.6272, allocations: 21.11 MB / 454.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009827/0.6371, allocations: 9.954 MB / 464.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004167/0.6413, allocations: 2.506 MB / 467.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/0.6537, allocations: 6.747 MB / 474.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.6538, allocations: 60.5 kB / 474.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 4.769e-06/0.6538, allocations: 0 / 474.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=226): time 0.02122/0.675, allocations: 9.809 MB / 484 MB, free: 13.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.6751, allocations: 73.41 kB / 484.1 MB, free: 13.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005487/0.6806, allocations: 2.978 MB / 487.1 MB, free: 10.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004174/0.6811, allocations: 69.7 kB / 487.1 MB, free: 10.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001831/0.6829, allocations: 2.172 MB / 489.3 MB, free: 8.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.6839, allocations: 0.7585 MB / 490.1 MB, free: 7.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.6841, allocations: 56 kB / 490.1 MB, free: 7.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002826/0.6844, allocations: 411.2 kB / 490.5 MB, free: 6.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.6867, allocations: 1.286 MB / 491.8 MB, free: 5.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.6892, allocations: 1.924 MB / 493.7 MB, free: 3.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/0.6916, allocations: 1.595 MB / 495.3 MB, free: 1.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.6917, allocations: 4 kB / 495.3 MB, free: 1.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.007378/0.699, allocations: 4.248 MB / 499.6 MB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.6991, allocations: 15.98 kB / 499.6 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/0.6991, allocations: 20 kB / 499.6 MB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/0.7018, allocations: 0.7752 MB / 0.4886 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.704, allocations: 0.5617 MB / 0.4892 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.7152, allocations: 10.04 MB / 0.499 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/0.7187, allocations: 115.8 kB / 0.4991 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006089/0.7193, allocations: 100 kB / 0.4992 GB, free: 1.445 MB / 414.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.004948/0.7243, allocations: 1.622 MB / 0.5008 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/0.7257, allocations: 312.2 kB / 0.5011 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008635/0.7343, allocations: 3.918 MB / 0.5049 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/0.7344, allocations: 20 kB / 0.5049 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.464e-05/0.7345, allocations: 12 kB / 0.5049 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.475e-05/0.7345, allocations: 19.89 kB / 0.505 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/0.7585, allocations: 8.57 MB / 0.5133 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/0.7586, allocations: 4 kB / 0.5133 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.7604, allocations: 347.8 kB / 0.5137 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003407/0.7638, allocations: 0.9418 MB / 0.5146 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003218/0.7642, allocations: 59.98 kB / 0.5146 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/0.7819, allocations: 14.45 MB / 0.5288 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.7819, allocations: 3.938 kB / 0.5288 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3927/1.175, allocations: 5.704 MB / 0.5343 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003953/1.179, allocations: 0.6874 MB / 0.535 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001729/1.18, allocations: 57.31 kB / 0.5351 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002584/1.183, allocations: 121.5 kB / 0.5352 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008263/1.184, allocations: 191.3 kB / 0.5354 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000261/1.184, allocations: 66.64 kB / 0.5354 GB, free: 135.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007474/1.192, allocations: 2.044 MB / 0.5374 GB, free: 135.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.41e-07/1.192, allocations: 0 / 0.5374 GB, free: 135.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00876/1.2, allocations: 0.949 MB / 0.5383 GB, free: 135.3 MB / 446.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,(3,88.9%) 25,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/1.202, allocations: 240.5 kB / 0.5386 GB, free: 135.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01196/1.214, allocations: 3.904 MB / 0.5424 GB, free: 133.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/1.214, allocations: 0.5312 kB / 0.5424 GB, free: 133.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007413/1.221, allocations: 2.648 MB / 0.545 GB, free: 132 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009243/1.231, allocations: 0.8966 MB / 0.5458 GB, free: 131.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03148/1.262, allocations: 11.18 MB / 0.5568 GB, free: 125.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004278/1.267, allocations: 3.339 MB / 0.56 GB, free: 124.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1.268, allocations: 213.4 kB / 0.5602 GB, free: 124.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.763e-06/1.268, allocations: 4 kB / 0.5602 GB, free: 124.3 MB / 446.1 MB Notification: Performance of Templates: time 0.5865/1.855, allocations: 204 MB / 0.7594 GB, free: 107 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.o] Error 1