Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.0008923/0.0008925, allocations: 83.59 kB / 17.58 MB, free: 5.758 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.0008593/0.0008593, allocations: 183.4 kB / 18.48 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0005418/0.0005418, allocations: 19.98 kB / 281.4 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 47.59 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03144/0.137, allocations: 28.83 MB / 357.9 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.1579, allocations: 8.334 MB / 366.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007157/0.165, allocations: 195.2 kB / 366.4 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006865/0.1719, allocations: 1.631 MB / 368 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.1848, allocations: 3.059 MB / 371.1 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006562/0.1913, allocations: 1.4 MB / 372.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2669/0.4582, allocations: 15.82 MB / 388.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0386/0.4969, allocations: 17.61 MB / 405.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/0.5083, allocations: 4.833 MB / 410.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01268/0.521, allocations: 5.531 MB / 416.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00413/0.5252, allocations: 0.7305 MB / 417 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007881/0.5331, allocations: 1.065 MB / 418.1 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006163/0.5393, allocations: 2.409 MB / 420.5 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007363/0.5467, allocations: 2.419 MB / 422.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02956/0.5762, allocations: 21.09 MB / 444 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.5763, allocations: 0 / 444 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.5763, allocations: 0 / 444 MB, free: 4.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0009983/0.5773, allocations: 0 / 444 MB, free: 4.707 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.0421/0.6195, allocations: 12.49 MB / 456.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.6195, allocations: 8.031 kB / 456.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04287/0.6624, allocations: 7.764 MB / 464.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01835/0.6808, allocations: 7.188 MB / 471.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/0.682, allocations: 0.8043 MB / 472.2 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006308/0.6883, allocations: 1.064 MB / 473.3 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04981/0.7381, allocations: 17.6 MB / 490.9 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003964/0.7386, allocations: 27.73 kB / 490.9 MB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00369/0.7423, allocations: 449.2 kB / 491.4 MB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007437/0.743, allocations: 0.6514 MB / 492 MB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04159/0.7846, allocations: 16.9 MB / 0.497 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5916/1.376, allocations: 57.29 MB / 0.5529 GB, free: 97.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02597/1.402, allocations: 40 MB / 0.592 GB, free: 63.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006875/1.409, allocations: 4.517 MB / 0.5964 GB, free: 63.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02094/1.43, allocations: 12.72 MB / 0.6088 GB, free: 56.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/1.43, allocations: 76.97 kB / 0.6089 GB, free: 56.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 6.141e-06/1.43, allocations: 0 / 0.6089 GB, free: 56.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=423): time 0.05015/1.48, allocations: 23.66 MB / 0.632 GB, free: 41.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/1.481, allocations: 120.7 kB / 0.6321 GB, free: 41.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008372/1.489, allocations: 4.785 MB / 0.6368 GB, free: 36.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001062/1.49, allocations: 97.7 kB / 0.6369 GB, free: 36.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002653/1.493, allocations: 4.803 MB / 0.6416 GB, free: 31.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002095/1.495, allocations: 1.454 MB / 0.643 GB, free: 30.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/1.495, allocations: 128 kB / 0.6431 GB, free: 30.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002893/1.496, allocations: 0.5507 MB / 0.6437 GB, free: 29.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004102/1.5, allocations: 2.944 MB / 0.6465 GB, free: 26.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005441/1.505, allocations: 5.228 MB / 0.6516 GB, free: 20.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005592/1.511, allocations: 4.051 MB / 0.6556 GB, free: 16.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-05/1.511, allocations: 24 kB / 0.6556 GB, free: 16.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01603/1.527, allocations: 10 MB / 0.6654 GB, free: 6.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.182e-05/1.527, allocations: 37.56 kB / 0.6654 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/1.527, allocations: 72 kB / 0.6655 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004098/1.531, allocations: 1.686 MB / 0.6671 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005385/1.537, allocations: 1.4 MB / 0.6685 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02504/1.562, allocations: 16.47 MB / 0.6846 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006406/1.568, allocations: 343.6 kB / 0.6849 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/1.57, allocations: 304 kB / 0.6852 GB, free: 1.332 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,61.2%) 28,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01136/1.581, allocations: 3.951 MB / 0.6891 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002296/1.584, allocations: 0.4978 MB / 0.6896 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01927/1.603, allocations: 7.804 MB / 0.6972 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-05/1.603, allocations: 40 kB / 0.6972 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.307e-05/1.603, allocations: 20 kB / 0.6972 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.146e-05/1.603, allocations: 26.81 kB / 0.6973 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3372/1.941, allocations: 17.52 MB / 0.7144 GB, free: 139.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/1.941, allocations: 3.969 kB / 0.7144 GB, free: 139.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003502/1.944, allocations: 0.736 MB / 0.7151 GB, free: 139.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004532/1.949, allocations: 1.552 MB / 0.7166 GB, free: 139.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008303/1.95, allocations: 105.3 kB / 0.7167 GB, free: 139.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/1.97, allocations: 19.49 MB / 0.7357 GB, free: 125.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/1.97, allocations: 11.84 kB / 0.7358 GB, free: 125.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02077/1.991, allocations: 11.44 MB / 0.7469 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004019/1.995, allocations: 1.169 MB / 0.7481 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001679/1.997, allocations: 86.78 kB / 0.7482 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003542/2, allocations: 247.7 kB / 0.7484 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009222/2.001, allocations: 331.2 kB / 0.7487 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003767/2.001, allocations: 132 kB / 0.7488 GB, free: 119.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008534/2.01, allocations: 3.216 MB / 0.752 GB, free: 118.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.22e-07/2.01, allocations: 0 / 0.752 GB, free: 118.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01232/2.022, allocations: 1.898 MB / 0.7538 GB, free: 118.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.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 (364): * Single equations (assignments): 357 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,40.8%) 44,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001833/2.024, allocations: 260.8 kB / 0.7541 GB, free: 118 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01797/2.042, allocations: 8.199 MB / 0.7621 GB, free: 113.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.412e-05/2.042, allocations: 2.953 kB / 0.7621 GB, free: 113.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01031/2.053, allocations: 4.654 MB / 0.7666 GB, free: 109.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01271/2.065, allocations: 1.258 MB / 0.7679 GB, free: 108.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05403/2.12, allocations: 23.08 MB / 0.7904 GB, free: 85.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008115/2.128, allocations: 6.636 MB / 0.7969 GB, free: 79.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002383/2.13, allocations: 443.3 kB / 0.7973 GB, free: 78.83 MB / 462.1 MB Notification: Performance of SimCode: time 1.683e-06/2.13, allocations: 3.938 kB / 0.7973 GB, free: 78.82 MB / 462.1 MB Notification: Performance of Templates: time 1.363/3.493, allocations: 464.5 MB / 1.251 GB, free: 156.1 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.o] Error 1