Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.FundamentalWave.Examples.BasicMachines.AIMC_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.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.002339/0.002339, allocations: 197.9 kB / 18.73 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001281/0.001281, allocations: 55.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1612, allocations: 46.62 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.01735/0.1786, allocations: 12.7 MB / 340 MB, free: 8.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.1913, allocations: 4.23 MB / 344.2 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004066/0.1955, allocations: 59.75 kB / 344.2 MB, free: 3.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004012/0.1995, allocations: 0.8551 MB / 345.1 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006702/0.2063, allocations: 1.17 MB / 346.3 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.2096, allocations: 0.7992 MB / 347.1 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009185/0.2188, allocations: 4.339 MB / 351.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006964/0.2258, allocations: 2.638 MB / 354 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004866/0.2307, allocations: 1.487 MB / 355.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005697/0.2365, allocations: 1.949 MB / 357.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002162/0.2387, allocations: 299.9 kB / 357.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004396/0.2431, allocations: 0.4997 MB / 358.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002817/0.2459, allocations: 0.8992 MB / 359.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007584/0.2535, allocations: 1.882 MB / 361.1 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.2644, allocations: 5.69 MB / 366.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.2645, allocations: 0 / 366.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.2645, allocations: 0 / 366.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003656/0.2649, allocations: 0 / 366.7 MB, free: 13.18 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.02101/0.2859, allocations: 4.382 MB / 371.1 MB, free: 8.719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.808e-05/0.286, allocations: 12.03 kB / 371.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006394/0.2924, allocations: 0.8163 MB / 372 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008075/0.3005, allocations: 2.26 MB / 374.2 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004949/0.301, allocations: 238.6 kB / 374.4 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001888/0.303, allocations: 316 kB / 374.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.3206, allocations: 4.258 MB / 379 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002367/0.3209, allocations: 4 kB / 379 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001504/0.3224, allocations: 128 kB / 379.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002679/0.3227, allocations: 146.2 kB / 379.3 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3424/0.6651, allocations: 3.648 MB / 382.9 MB, free: 48.56 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02854/0.6937, allocations: 13.5 MB / 396.4 MB, free: 40.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007441/0.7013, allocations: 6.862 MB / 403.3 MB, free: 34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.7039, allocations: 1.412 MB / 404.7 MB, free: 33.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006553/0.7105, allocations: 3.645 MB / 408.4 MB, free: 30.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.7105, allocations: 43.53 kB / 408.4 MB, free: 30.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=124): time 4.378e-06/0.7106, allocations: 0 / 408.4 MB, free: 30.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=144): time 0.01284/0.7234, allocations: 6.624 MB / 415 MB, free: 25.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.7235, allocations: 76.66 kB / 415.1 MB, free: 25.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.7261, allocations: 1.859 MB / 417 MB, free: 23.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.838e-05/0.7262, allocations: 49.7 kB / 417 MB, free: 23.33 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008489/0.7271, allocations: 1.418 MB / 418.4 MB, free: 21.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/0.7274, allocations: 0.4965 MB / 418.9 MB, free: 21.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004552/0.7279, allocations: 311.1 kB / 419.2 MB, free: 21.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.728, allocations: 305.1 kB / 419.5 MB, free: 20.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.729, allocations: 0.7574 MB / 420.3 MB, free: 20.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.7304, allocations: 1.224 MB / 421.5 MB, free: 18.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/0.7328, allocations: 2.105 MB / 423.6 MB, free: 16.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.7328, allocations: 4 kB / 423.6 MB, free: 16.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.003868/0.7367, allocations: 2.658 MB / 426.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.7367, allocations: 15.94 kB / 426.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.7368, allocations: 16 kB / 426.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.7381, allocations: 0.5017 MB / 426.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.7395, allocations: 383.4 kB / 427.2 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006908/0.7464, allocations: 6.398 MB / 433.6 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.748, allocations: 79.86 kB / 433.6 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.7481, allocations: 75.98 kB / 433.7 MB, free: 5.926 MB / 318.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (7,31,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00234/0.7505, allocations: 1.04 MB / 434.8 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.7508, allocations: 197.8 kB / 435 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.7546, allocations: 2.5 MB / 437.5 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.7546, allocations: 12 kB / 437.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/0.7547, allocations: 8 kB / 437.5 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.7547, allocations: 7.969 kB / 437.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.7655, allocations: 5.538 MB / 443 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.7656, allocations: 0 / 443 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.7666, allocations: 219.7 kB / 443.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.7681, allocations: 0.5025 MB / 443.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.7683, allocations: 39.98 kB / 443.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/0.7809, allocations: 10.46 MB / 454.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7809, allocations: 0 / 454.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006987/0.7879, allocations: 3.568 MB / 457.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/0.7895, allocations: 454.6 kB / 458.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007271/0.7902, allocations: 28 kB / 458.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.7918, allocations: 67.95 kB / 458.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004204/0.7922, allocations: 117.1 kB / 458.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.7923, allocations: 43.92 kB / 458.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003302/0.7956, allocations: 1.286 MB / 459.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7957, allocations: 0 / 459.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003127/0.7988, allocations: 0.5781 MB / 460.4 MB, free: 10.36 MB / 350.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.strayReluctance.Phi.re,aimc.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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004747/0.7993, allocations: 169.7 kB / 460.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005171/0.8045, allocations: 2.391 MB / 462.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.8045, allocations: 1 kB / 462.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002897/0.8074, allocations: 1.724 MB / 464.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/0.8108, allocations: 0.4956 MB / 465.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/0.8297, allocations: 7.305 MB / 472.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003427/0.8332, allocations: 2.312 MB / 474.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009134/0.8341, allocations: 139.4 kB / 474.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 1.784e-06/0.8341, allocations: 0 / 474.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Templates: time 0.439/1.273, allocations: 97.36 MB / 0.5588 GB, free: 111.6 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_InitializeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_InitializeCalcHelperMain.o] Error 1