Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD,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",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,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",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009436/0.0009436, allocations: 88.94 kB / 17.58 MB, free: 5.742 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.001285/0.001286, allocations: 182.8 kB / 18.48 MB, free: 5.195 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.749/1.749, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004839/0.0004839, allocations: 12 kB / 281.4 MB, free: 3.703 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 47.58 MB / 329 MB, free: 4.047 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01351/0.1356, allocations: 12.03 MB / 341 MB, free: 7.969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009978/0.1457, allocations: 4.204 MB / 345.2 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00296/0.1487, allocations: 67.69 kB / 345.3 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.1522, allocations: 0.769 MB / 346.1 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005289/0.1575, allocations: 1.142 MB / 347.2 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.16, allocations: 0.6159 MB / 347.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007318/0.1673, allocations: 4.748 MB / 352.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005646/0.173, allocations: 2.545 MB / 355.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003639/0.1767, allocations: 1.498 MB / 356.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004405/0.1811, allocations: 1.91 MB / 358.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001567/0.1827, allocations: 240 kB / 358.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.1859, allocations: 431.8 kB / 359.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001639/0.1876, allocations: 0.9069 MB / 360.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.1894, allocations: 0.8551 MB / 360.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00828/0.1977, allocations: 6.327 MB / 367.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1978, allocations: 0 / 367.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1978, allocations: 0 / 367.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002253/0.198, allocations: 0 / 367.3 MB, free: 13.59 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01178/0.2098, allocations: 4.296 MB / 371.6 MB, free: 9.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.2099, allocations: 8.031 kB / 371.6 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004865/0.2147, allocations: 0.881 MB / 372.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006121/0.2209, allocations: 2.518 MB / 375 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.2211, allocations: 267.2 kB / 375.2 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006535/0.2218, allocations: 359.9 kB / 375.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009533/0.2313, allocations: 5.025 MB / 380.6 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.19e-05/0.2315, allocations: 4 kB / 380.6 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2371/0.4686, allocations: 142.8 kB / 380.8 MB, free: 47.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002813/0.4689, allocations: 158.9 kB / 380.9 MB, free: 47.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.4812, allocations: 4.376 MB / 385.3 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02826/0.5095, allocations: 16 MB / 401.3 MB, free: 36.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006064/0.5157, allocations: 7.767 MB / 409.1 MB, free: 29.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/0.5181, allocations: 1.734 MB / 410.8 MB, free: 28.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006589/0.5247, allocations: 4.664 MB / 415.5 MB, free: 24.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.5248, allocations: 51.88 kB / 415.5 MB, free: 24.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=161): time 4.529e-06/0.5248, allocations: 0 / 415.5 MB, free: 24.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=164): time 0.01542/0.5402, allocations: 8.201 MB / 423.7 MB, free: 15.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.5403, allocations: 76.67 kB / 423.8 MB, free: 15.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0041/0.5444, allocations: 2.139 MB / 425.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.5446, allocations: 57.7 kB / 426 MB, free: 13.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000949/0.5455, allocations: 1.608 MB / 427.6 MB, free: 11.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/0.546, allocations: 0.5573 MB / 428.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.5461, allocations: 36 kB / 428.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5462, allocations: 381.9 kB / 428.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.5476, allocations: 0.9447 MB / 429.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.5492, allocations: 1.468 MB / 431 MB, free: 8.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.551, allocations: 1.173 MB / 432.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/0.551, allocations: 4 kB / 432.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=245) (initialization): time 0.005004/0.556, allocations: 3.359 MB / 435.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.5561, allocations: 13.05 kB / 435.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.5561, allocations: 16.47 kB / 435.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.5577, allocations: 0.7374 MB / 436.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.5589, allocations: 383.4 kB / 436.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.5707, allocations: 10.4 MB / 447 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.5728, allocations: 92.03 kB / 447.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003695/0.5732, allocations: 87.94 kB / 447.2 MB, free: 7.562 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * 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 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003091/0.5763, allocations: 1.208 MB / 448.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007965/0.5771, allocations: 225.2 kB / 448.6 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006414/0.5835, allocations: 3.171 MB / 451.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.5836, allocations: 16 kB / 451.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-05/0.5836, allocations: 19.98 kB / 451.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.5836, allocations: 7.969 kB / 451.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.5969, allocations: 6.57 MB / 458.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.597, allocations: 4.188 kB / 458.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/0.5979, allocations: 179.8 kB / 458.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/0.6003, allocations: 0.9034 MB / 459.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.6004, allocations: 39.98 kB / 459.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/0.6171, allocations: 14.81 MB / 474.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.6171, allocations: 4.031 kB / 474.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008267/0.6254, allocations: 4.527 MB / 478.9 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/0.627, allocations: 0.5178 MB / 479.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007014/0.6278, allocations: 36.55 kB / 479.4 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.6291, allocations: 91.94 kB / 479.5 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004696/0.6296, allocations: 161 kB / 479.7 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.6298, allocations: 47.98 kB / 479.7 MB, free: 5.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003088/0.6329, allocations: 1.465 MB / 481.2 MB, free: 4.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6329, allocations: 0 / 481.2 MB, free: 4.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003427/0.6363, allocations: 0.707 MB / 481.9 MB, free: 3.754 MB / 366.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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004563/0.6368, allocations: 169.4 kB / 482.1 MB, free: 3.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005419/0.6422, allocations: 3.121 MB / 485.2 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.6422, allocations: 4 kB / 485.2 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0036/0.6458, allocations: 2.274 MB / 487.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/0.6496, allocations: 0.6059 MB / 488.1 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.6651, allocations: 8.131 MB / 496.2 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003791/0.6689, allocations: 2.63 MB / 498.8 MB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008024/0.6697, allocations: 151.4 kB / 499 MB, free: 2.453 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.6698, allocations: 0 / 499 MB, free: 2.453 MB / 382.1 MB Notification: Performance of Templates: time 0.3663/1.036, allocations: 150.7 MB / 0.6345 GB, free: 61.66 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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.FundamentalWave.Examples.BasicMachines.AIMC_YDCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YDCalcHelperMain.o] Error 1