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_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 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_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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009189/0.0009189, allocations: 96.23 kB / 16.96 MB, free: 6.457 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.001109/0.001109, allocations: 179.1 kB / 17.84 MB, free: 5.996 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.535/1.535, allocations: 223.2 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.000282, allocations: 8.844 kB / 301.5 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 50.42 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.0167/0.1543, allocations: 14.83 MB / 366.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3397/0.4941, allocations: 5.303 MB / 372 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004341/0.4985, allocations: 103.8 kB / 372.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004685/0.5032, allocations: 1.012 MB / 373.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00788/0.5111, allocations: 1.494 MB / 374.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.5146, allocations: 0.696 MB / 375.3 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01161/0.5263, allocations: 6.369 MB / 381.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006892/0.5332, allocations: 3.554 MB / 385.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005677/0.5389, allocations: 2.036 MB / 387.3 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006674/0.5456, allocations: 2.613 MB / 389.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001537/0.5472, allocations: 329 kB / 390.2 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003656/0.5508, allocations: 0.5586 MB / 390.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001862/0.5527, allocations: 1.294 MB / 392.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004315/0.557, allocations: 1.136 MB / 393.2 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.5702, allocations: 8.593 MB / 401.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.5703, allocations: 0 / 401.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.5703, allocations: 0 / 401.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004098/0.5707, allocations: 0 / 401.8 MB, free: 0.8516 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01877/0.5895, allocations: 5.54 MB / 407.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5895, allocations: 16.03 kB / 407.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006942/0.5965, allocations: 1.054 MB / 408.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009159/0.6057, allocations: 3.411 MB / 411.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003905/0.6061, allocations: 371.8 kB / 412.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/0.6081, allocations: 479.8 kB / 412.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.6245, allocations: 6.843 MB / 419.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.6247, allocations: 7.938 kB / 419.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005219/0.6252, allocations: 207.9 kB / 419.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002585/0.6255, allocations: 245.8 kB / 419.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.6401, allocations: 5.922 MB / 425.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04199/0.6821, allocations: 21.03 MB / 446.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.6934, allocations: 9.937 MB / 456.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005258/0.6987, allocations: 2.504 MB / 459.3 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01688/0.7157, allocations: 6.514 MB / 465.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/0.7158, allocations: 68.52 kB / 465.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 5.03e-06/0.7158, allocations: 0 / 465.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=226): time 0.02216/0.738, allocations: 9.784 MB / 475.7 MB, free: 5.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.7381, allocations: 81.34 kB / 475.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007327/0.7454, allocations: 2.957 MB / 478.7 MB, free: 2.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004537/0.7459, allocations: 65.7 kB / 478.8 MB, free: 2.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00227/0.7482, allocations: 2.158 MB / 481 MB, free: 300 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.7494, allocations: 0.7574 MB / 481.7 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.7498, allocations: 52 kB / 481.8 MB, free: 15.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003067/0.7501, allocations: 411.2 kB / 482.2 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002988/0.7531, allocations: 1.286 MB / 483.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00323/0.7564, allocations: 1.93 MB / 485.4 MB, free: 11.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/0.7595, allocations: 1.6 MB / 487 MB, free: 10.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/0.7596, allocations: 4 kB / 487 MB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.009053/0.7686, allocations: 4.245 MB / 491.2 MB, free: 5.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.7687, allocations: 12 kB / 491.2 MB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.863e-05/0.7688, allocations: 23.98 kB / 491.3 MB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002769/0.7716, allocations: 0.7746 MB / 492 MB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.7739, allocations: 0.5695 MB / 492.6 MB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/0.7861, allocations: 10.03 MB / 0.4909 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/0.7894, allocations: 120 kB / 0.491 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006268/0.79, allocations: 100 kB / 0.4911 GB, free: 9.559 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.0046/0.7947, allocations: 1.61 MB / 0.4926 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/0.7961, allocations: 310.7 kB / 0.4929 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008563/0.8046, allocations: 3.932 MB / 0.4968 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.023e-05/0.8047, allocations: 24 kB / 0.4968 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.17e-05/0.8047, allocations: 8 kB / 0.4968 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.8048, allocations: 11.95 kB / 0.4968 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02047/0.8253, allocations: 8.568 MB / 0.5052 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.8253, allocations: 4 kB / 0.5052 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.8268, allocations: 347.8 kB / 0.5055 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002909/0.8297, allocations: 0.9382 MB / 0.5064 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/0.8299, allocations: 55.98 kB / 0.5065 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/0.8464, allocations: 14.41 MB / 0.5206 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.8465, allocations: 4 kB / 0.5206 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.8572, allocations: 5.694 MB / 0.5261 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/0.8595, allocations: 0.6924 MB / 0.5268 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/0.8607, allocations: 55.98 kB / 0.5269 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/0.8631, allocations: 115.9 kB / 0.527 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006812/0.8639, allocations: 197.7 kB / 0.5272 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/0.8641, allocations: 63.98 kB / 0.5272 GB, free: 3.434 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004893/0.869, allocations: 2.038 MB / 0.5292 GB, free: 1.395 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8691, allocations: 0 / 0.5292 GB, free: 1.395 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005298/0.8744, allocations: 0.9376 MB / 0.5301 GB, free: 468 kB / 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,(2,100.0%) 26,(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.0009987/0.8754, allocations: 242.4 kB / 0.5304 GB, free: 236 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.293/1.168, allocations: 3.898 MB / 0.5342 GB, free: 147 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.168, allocations: 1.594 kB / 0.5342 GB, free: 147 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005311/1.174, allocations: 2.641 MB / 0.5367 GB, free: 146.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006001/1.18, allocations: 0.874 MB / 0.5376 GB, free: 146.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/1.204, allocations: 11.16 MB / 0.5485 GB, free: 140.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004409/1.208, allocations: 3.334 MB / 0.5518 GB, free: 139.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/1.21, allocations: 209.9 kB / 0.552 GB, free: 139.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.773e-06/1.21, allocations: 0 / 0.552 GB, free: 139.1 MB / 446.1 MB Notification: Performance of Templates: time 0.4838/1.693, allocations: 203.1 MB / 0.7503 GB, free: 102.4 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile make -j1 -f Modelica_4.0.0_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 4.0.0+maint.om/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 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.o] Error 1